#412162
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 | #412162 | |
| RGB | rgb(65 33 98) | |
| HSL | hsl(269.54 49.62% 25.69%) | |
| OKLCH | oklch(0.33 0.11 303.44) | |
| CMYK | cmyk(33.67% 66.33% 0% 61.57%) | |
| Android | #ff412162 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.61:1
Fail AA normal text
Fail 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="#412162"
Gradient stop
<stop stop-color="#412162"/>
CSS variable + fill
:root { --c: #412162; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #412162; background-color: #412162; bg-[#412162]