#412AB1#412AB1
#412AB1 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.199 H 280.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #412AB1 |
|---|---|
| RGB | rgb(65, 42, 177) |
| HSL | hsl(250, 62%, 43%) |
| HSV | hsv(250, 76%, 69%) |
| CMYK | cmyk(63.3%, 76.3%, 0%, 30.6%) |
| CIE-LAB | lab(29.29, 47.99, -67.68) |
| CIE-LCH | lch(29.29, 82.97, 305.34°) |
| OKLab | oklab(41.17% 0.0377 -0.1953) |
| OKLCH | oklch(41.17% 0.199 280.9) |
| XYZ | xyz(10.9412, 5.9532, 42.1590) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.25
Violet Blue
#510AC9
ΔE00 4.97
Purple Blue
#5D21D0
ΔE00 5.57
True Blue
#010FCC
ΔE00 5.62
Blue With A Hint Of Purple
#533CC6
ΔE00 5.62
Sapphire (survey)
#2138AB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412AB1 #9AB12A
analogous
#2A57B1 #412AB1 #842AB1
triadic
#412AB1 #B1412A #2AB141
tetradic
#412AB1 #B12A57 #9AB12A #2AB184
square
#412AB1 #B12A57 #9AB12A #2AB184
split-complementary
#412AB1 #B1842A #57B12A
monochromatic
#1D134E #2F1E80 #412AB1 #5D45D3 #8877DF
Accessibility & contrast
On white
9.59
#412AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#412AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412AB1
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412AB1 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #412ab1; /* rgb */ color: rgb(65, 42, 177); /* oklch */ color: oklch(41.2% 0.199 280.9);
Tailwind
colors: {
custom: {
50: '#8467ca',
500: '#412ab1',
950: '#000000',
},
}SCSS
$custom: #412ab1; $custom-light: #8467ca; $custom-dark: #000000;
JSON
{
"hex": "#412ab1",
"rgb": {
"r": 65,
"g": 42,
"b": 177
},
"hsl": {
"h": 250.222,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.41168,
"c": 0.19888,
"h": 280.9
},
"luminance": 0.05954
}Semantic roles & 50–950 ramp
primary
#412AB1
secondary
#B8C670
accent
#E543C9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82