#412E9F#412E9F
#412E9F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.173 H 283.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #412E9F |
|---|---|
| RGB | rgb(65, 46, 159) |
| HSL | hsl(250, 55%, 40%) |
| HSV | hsv(250, 71%, 62%) |
| CMYK | cmyk(59.1%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(28.33, 40.26, -58.42) |
| CIE-LCH | lch(28.33, 70.95, 304.57°) |
| OKLab | oklab(39.96% 0.0388 -0.1682) |
| OKLCH | oklch(39.96% 0.173 283) |
| XYZ | xyz(9.4130, 5.5804, 33.3753) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.82
Sapphire (survey)
#2138AB
ΔE00 5.28
Blueberry
#464196
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.13
Blue With A Hint Of Purple
#533CC6
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412E9F #8C9F2E
analogous
#2E549F #412E9F #792E9F
triadic
#412E9F #9F412E #2E9F41
tetradic
#412E9F #9F2E54 #8C9F2E #2E9F79
square
#412E9F #9F2E54 #8C9F2E #2E9F79
split-complementary
#412E9F #9F792E #549F2E
monochromatic
#1A1340 #2E2070 #412E9F #5942C8 #8271D6
Accessibility & contrast
On white
9.92
#412E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#412E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412E9F
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412E9F | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#084C63
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #412e9f; /* rgb */ color: rgb(65, 46, 159); /* oklch */ color: oklch(40.0% 0.173 283.0);
Tailwind
colors: {
custom: {
50: '#8069bc',
500: '#412e9f',
950: '#000000',
},
}SCSS
$custom: #412e9f; $custom-light: #8069bc; $custom-dark: #000000;
JSON
{
"hex": "#412e9f",
"rgb": {
"r": 65,
"g": 46,
"b": 159
},
"hsl": {
"h": 250.088,
"s": 55.122,
"l": 40.196
},
"oklch": {
"l": 0.39957,
"c": 0.17265,
"h": 283
},
"luminance": 0.05581
}Semantic roles & 50–950 ramp
primary
#412E9F
secondary
#B0BE6B
accent
#DE49C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81