#401B90#401B90
#401B90 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.175 H 288.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #401B90 |
|---|---|
| RGB | rgb(64, 27, 144) |
| HSL | hsl(259, 68%, 34%) |
| HSV | hsv(259, 81%, 56%) |
| CMYK | cmyk(55.6%, 81.3%, 0%, 43.5%) |
| CIE-LAB | lab(23.29, 45.45, -57.49) |
| CIE-LCH | lch(23.29, 73.29, 308.33°) |
| OKLab | oklab(35.94% 0.0557 -0.1654) |
| OKLCH | oklch(35.94% 0.175 288.6) |
| XYZ | xyz(7.5388, 3.8871, 26.7332) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.11
Indigo
#4B0082
ΔE00 4.55
Indigo Blue
#3A18B1
ΔE00 4.66
Royal
#0C1793
ΔE00 5.11
Cobalt Blue
#030AA7
ΔE00 5.85
Ultramarine
#2000B1
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#401B90 #6B901B
analogous
#1B3190 #401B90 #7A1B90
triadic
#401B90 #90401B #1B9040
tetradic
#401B90 #901B31 #6B901B #1B907A
square
#401B90 #901B31 #6B901B #1B907A
split-complementary
#401B90 #907A1B #31901B
monochromatic
#120829 #29115C #401B90 #5725C4 #7749DD
Accessibility & contrast
On white
11.82
#401B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#401B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #401B90
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##401B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##401B90 | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#1F3D56
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #401b90; /* rgb */ color: rgb(64, 27, 144); /* oklch */ color: oklch(35.9% 0.175 288.6);
Tailwind
colors: {
custom: {
50: '#7f5db2',
500: '#401b90',
950: '#000000',
},
}SCSS
$custom: #401b90; $custom-light: #7f5db2; $custom-dark: #000000;
JSON
{
"hex": "#401b90",
"rgb": {
"r": 64,
"g": 27,
"b": 144
},
"hsl": {
"h": 258.974,
"s": 68.421,
"l": 33.529
},
"oklch": {
"l": 0.35944,
"c": 0.17453,
"h": 288.6
},
"luminance": 0.03887
}Semantic roles & 50–950 ramp
primary
#401B90
secondary
#99BF48
accent
#EB3DB4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980