#412E99#412E99
#412E99 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.165 H 284.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #412E99 |
|---|---|
| RGB | rgb(65, 46, 153) |
| HSL | hsl(251, 54%, 39%) |
| HSV | hsv(251, 70%, 60%) |
| CMYK | cmyk(57.5%, 69.9%, 0%, 40%) |
| CIE-LAB | lab(27.78, 38.37, -55.66) |
| CIE-LCH | lch(27.78, 67.60, 304.58°) |
| OKLab | oklab(39.4% 0.0398 -0.1601) |
| OKLCH | oklch(39.4% 0.165 284) |
| XYZ | xyz(8.9050, 5.3772, 30.6995) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.34
Indigo Blue
#3A18B1
ΔE00 5.38
Blueberry
#464196
ΔE00 5.57
Sapphire (survey)
#2138AB
ΔE00 5.66
Ocean Blue
#4F42B5
ΔE00 6.62
Royal
#0C1793
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412E99 #86992E
analogous
#2E5199 #412E99 #772E99
triadic
#412E99 #99412E #2E9941
tetradic
#412E99 #992E51 #86992E #2E9977
square
#412E99 #992E51 #86992E #2E9977
split-complementary
#412E99 #99772E #51992E
monochromatic
#19123B #2D206A #412E99 #573FC5 #806ED3
Accessibility & contrast
On white
10.12
#412E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#412E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412E99
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412E99 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#154A60
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #412e99; /* rgb */ color: rgb(65, 46, 153); /* oklch */ color: oklch(39.4% 0.165 284.0);
Tailwind
colors: {
custom: {
50: '#7f68b8',
500: '#412e99',
950: '#000000',
},
}SCSS
$custom: #412e99; $custom-light: #7f68b8; $custom-dark: #000000;
JSON
{
"hex": "#412e99",
"rgb": {
"r": 65,
"g": 46,
"b": 153
},
"hsl": {
"h": 250.654,
"s": 53.769,
"l": 39.02
},
"oklch": {
"l": 0.394,
"c": 0.16502,
"h": 284
},
"luminance": 0.05378
}Semantic roles & 50–950 ramp
primary
#412E99
secondary
#ACBB68
accent
#DD4BC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80