#412986#412986
#412986 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.147 H 289.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #412986 |
|---|---|
| RGB | rgb(65, 41, 134) |
| HSL | hsl(255, 53%, 34%) |
| HSV | hsv(255, 69%, 53%) |
| CMYK | cmyk(51.5%, 69.4%, 0%, 47.5%) |
| CIE-LAB | lab(25.05, 35.36, -48.38) |
| CIE-LCH | lch(25.05, 59.93, 306.17°) |
| OKLab | oklab(36.92% 0.0478 -0.1388) |
| OKLCH | oklch(36.92% 0.147 289) |
| XYZ | xyz(7.2747, 4.4306, 23.0215) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.65
Indigo (survey)
#380282
ΔE00 6.80
Midnight Blue
#191970
ΔE00 6.83
Indigo
#4B0082
ΔE00 6.87
Royal
#0C1793
ΔE00 6.89
Blueberry
#464196
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412986 #6E8629
analogous
#294086 #412986 #702986
triadic
#412986 #864129 #298641
tetradic
#412986 #862940 #6E8629 #298670
square
#412986 #862940 #6E8629 #298670
split-complementary
#412986 #867029 #408629
monochromatic
#140C28 #2A1B57 #412986 #5837B5 #795CCD
Accessibility & contrast
On white
11.13
#412986 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#412986 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412986
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412986 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412986 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#294054
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412986; /* rgb */ color: rgb(65, 41, 134); /* oklch */ color: oklch(36.9% 0.147 289.0);
Tailwind
colors: {
custom: {
50: '#7d64aa',
500: '#412986',
950: '#000000',
},
}SCSS
$custom: #412986; $custom-light: #7d64aa; $custom-dark: #000000;
JSON
{
"hex": "#412986",
"rgb": {
"r": 65,
"g": 41,
"b": 134
},
"hsl": {
"h": 255.484,
"s": 53.143,
"l": 34.314
},
"oklch": {
"l": 0.36919,
"c": 0.14675,
"h": 289
},
"luminance": 0.04431
}Semantic roles & 50–950 ramp
primary
#412986
secondary
#9BB358
accent
#DD4BB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F