#412AAF#412AAF
#412AAF is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.197 H 281.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #412AAF |
|---|---|
| RGB | rgb(65, 42, 175) |
| HSL | hsl(250, 61%, 43%) |
| HSV | hsv(250, 76%, 69%) |
| CMYK | cmyk(62.9%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(29.09, 47.39, -66.81) |
| CIE-LCH | lch(29.09, 81.91, 305.35°) |
| OKLab | oklab(40.97% 0.0382 -0.1928) |
| OKLCH | oklch(40.97% 0.197 281.2) |
| XYZ | xyz(10.7434, 5.8741, 41.1168) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.24
Violet Blue
#510AC9
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.64
True Blue
#010FCC
ΔE00 5.75
Purple Blue
#5D21D0
ΔE00 5.78
Blue With A Hint Of Purple
#533CC6
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412AAF #98AF2A
analogous
#2A55AF #412AAF #832AAF
triadic
#412AAF #AF412A #2AAF41
tetradic
#412AAF #AF2A55 #98AF2A #2AAF83
square
#412AAF #AF2A55 #98AF2A #2AAF83
split-complementary
#412AAF #AF832A #55AF2A
monochromatic
#1C124C #2F1E7E #412AAF #5D44D2 #8875DE
Accessibility & contrast
On white
9.66
#412AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#412AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412AAF
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412AAF | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #412aaf; /* rgb */ color: rgb(65, 42, 175); /* oklch */ color: oklch(41.0% 0.197 281.2);
Tailwind
colors: {
custom: {
50: '#8467c8',
500: '#412aaf',
950: '#000000',
},
}SCSS
$custom: #412aaf; $custom-light: #8467c8; $custom-dark: #000000;
JSON
{
"hex": "#412aaf",
"rgb": {
"r": 65,
"g": 42,
"b": 175
},
"hsl": {
"h": 250.376,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.40966,
"c": 0.1965,
"h": 281.2
},
"luminance": 0.05875
}Semantic roles & 50–950 ramp
primary
#412AAF
secondary
#B7C66F
accent
#E443C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82