#412199#412199
#412199 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.179 H 286.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #412199 |
|---|---|
| RGB | rgb(65, 33, 153) |
| HSL | hsl(256, 65%, 36%) |
| HSV | hsv(256, 78%, 60%) |
| CMYK | cmyk(57.5%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(25.29, 45.36, -59.74) |
| CIE-LCH | lch(25.29, 75.01, 307.21°) |
| OKLab | oklab(37.64% 0.0503 -0.172) |
| OKLCH | oklch(37.64% 0.179 286.3) |
| XYZ | xyz(8.4719, 4.5110, 30.5551) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.59
Royal
#0C1793
ΔE00 5.39
Ultramarine
#2000B1
ΔE00 5.71
Indigo (survey)
#380282
ΔE00 5.78
Cobalt Blue
#030AA7
ΔE00 5.86
Indigo
#4B0082
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412199 #799921
analogous
#213D99 #412199 #7D2199
triadic
#412199 #994121 #219941
tetradic
#412199 #99213D #799921 #21997D
square
#412199 #99213D #799921 #21997D
split-complementary
#412199 #997D21 #3D9921
monochromatic
#160B34 #2C1667 #412199 #562CCB #7C59DB
Accessibility & contrast
On white
11.04
#412199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#412199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412199
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412199 | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#16445C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412199; /* rgb */ color: rgb(65, 33, 153); /* oklch */ color: oklch(37.6% 0.179 286.3);
Tailwind
colors: {
custom: {
50: '#8061b8',
500: '#412199',
950: '#000000',
},
}SCSS
$custom: #412199; $custom-light: #8061b8; $custom-dark: #000000;
JSON
{
"hex": "#412199",
"rgb": {
"r": 65,
"g": 33,
"b": 153
},
"hsl": {
"h": 256,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.37637,
"c": 0.17922,
"h": 286.3
},
"luminance": 0.04511
}Semantic roles & 50–950 ramp
primary
#412199
secondary
#A3BF56
accent
#E840BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980