#412E9D#412E9D
#412E9D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.170 H 283.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #412E9D |
|---|---|
| RGB | rgb(65, 46, 157) |
| HSL | hsl(250, 55%, 40%) |
| HSV | hsv(250, 71%, 62%) |
| CMYK | cmyk(58.6%, 70.7%, 0%, 38.4%) |
| CIE-LAB | lab(28.14, 39.63, -57.51) |
| CIE-LCH | lch(28.14, 69.84, 304.57°) |
| OKLab | oklab(39.77% 0.0391 -0.1656) |
| OKLCH | oklch(39.77% 0.17 283.3) |
| XYZ | xyz(9.2409, 5.5115, 32.4686) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.99
Sapphire (survey)
#2138AB
ΔE00 5.39
Darkslateblue
#483D8B
ΔE00 5.69
Blueberry
#464196
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 6.29
Royal
#0C1793
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412E9D #8A9D2E
analogous
#2E539D #412E9D #782E9D
triadic
#412E9D #9D412E #2E9D41
tetradic
#412E9D #9D2E53 #8A9D2E #2E9D78
square
#412E9D #9D2E53 #8A9D2E #2E9D78
split-complementary
#412E9D #9D782E #539D2E
monochromatic
#1A123E #2D206E #412E9D #5841C7 #8270D5
Accessibility & contrast
On white
9.99
#412E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#412E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412E9D
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412E9D | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#0D4B62
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #412e9d; /* rgb */ color: rgb(65, 46, 157); /* oklch */ color: oklch(39.8% 0.170 283.3);
Tailwind
colors: {
custom: {
50: '#8068bb',
500: '#412e9d',
950: '#000000',
},
}SCSS
$custom: #412e9d; $custom-light: #8068bb; $custom-dark: #000000;
JSON
{
"hex": "#412e9d",
"rgb": {
"r": 65,
"g": 46,
"b": 157
},
"hsl": {
"h": 250.27,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.3977,
"c": 0.17012,
"h": 283.3
},
"luminance": 0.05512
}Semantic roles & 50–950 ramp
primary
#412E9D
secondary
#AEBD6A
accent
#DE4AC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81