#6141df
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #6141df | |
| RGB | rgb(97 65 223) | |
| HSL | hsl(252.15 71.17% 56.47%) | |
| OKLCH | oklch(0.51 0.23 284.43) | |
| CMYK | cmyk(56.5% 70.85% 0% 12.55%) | |
| Android | #ff6141df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.30:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.32:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#6141df"
Gradient stop
<stop stop-color="#6141df"/>
CSS variable + fill
:root { --c: #6141df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6141df; background-color: #6141df; bg-[#6141df]