#412989#412989
#412989 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.2% C 0.151 H 288.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #412989 |
|---|---|
| RGB | rgb(65, 41, 137) |
| HSL | hsl(255, 54%, 35%) |
| HSV | hsv(255, 70%, 54%) |
| CMYK | cmyk(52.6%, 70.1%, 0%, 46.3%) |
| CIE-LAB | lab(25.31, 36.29, -49.83) |
| CIE-LCH | lch(25.31, 61.64, 306.06°) |
| OKLab | oklab(37.19% 0.0473 -0.143) |
| OKLCH | oklch(37.19% 0.151 288.3) |
| XYZ | xyz(7.4869, 4.5155, 24.1391) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.69
Royal
#0C1793
ΔE00 6.66
Indigo Blue
#3A18B1
ΔE00 6.67
Indigo (survey)
#380282
ΔE00 6.77
Indigo
#4B0082
ΔE00 6.88
Blueberry
#464196
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412989 #718929
analogous
#294189 #412989 #712989
triadic
#412989 #894129 #298941
tetradic
#412989 #892941 #718929 #298971
square
#412989 #892941 #718929 #298971
split-complementary
#412989 #897129 #418929
monochromatic
#140D2B #2B1B5A #412989 #5737B8 #7A5ECF
Accessibility & contrast
On white
11.03
#412989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#412989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412989
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412989 | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#274155
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412989; /* rgb */ color: rgb(65, 41, 137); /* oklch */ color: oklch(37.2% 0.151 288.3);
Tailwind
colors: {
custom: {
50: '#7d65ac',
500: '#412989',
950: '#000000',
},
}SCSS
$custom: #412989; $custom-light: #7d65ac; $custom-dark: #000000;
JSON
{
"hex": "#412989",
"rgb": {
"r": 65,
"g": 41,
"b": 137
},
"hsl": {
"h": 255,
"s": 53.933,
"l": 34.902
},
"oklch": {
"l": 0.37187,
"c": 0.15063,
"h": 288.3
},
"luminance": 0.04516
}Semantic roles & 50–950 ramp
primary
#412989
secondary
#9EB45A
accent
#DD4AB9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F