#401C90#401C90
#401C90 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.174 H 288.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #401C90 |
|---|---|
| RGB | rgb(64, 28, 144) |
| HSL | hsl(259, 67%, 34%) |
| HSV | hsv(259, 81%, 56%) |
| CMYK | cmyk(55.6%, 80.6%, 0%, 43.5%) |
| CIE-LAB | lab(23.45, 45.00, -57.23) |
| CIE-LCH | lch(23.45, 72.80, 308.18°) |
| OKLab | oklab(36.05% 0.055 -0.1646) |
| OKLCH | oklch(36.05% 0.174 288.5) |
| XYZ | xyz(7.5622, 3.9337, 26.7410) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.27
Indigo Blue
#3A18B1
ΔE00 4.67
Indigo
#4B0082
ΔE00 4.69
Royal
#0C1793
ΔE00 5.13
Cobalt Blue
#030AA7
ΔE00 5.92
Ultramarine
#2000B1
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#401C90 #6C901C
analogous
#1C3290 #401C90 #7A1C90
triadic
#401C90 #90401C #1C9040
tetradic
#401C90 #901C32 #6C901C #1C907A
square
#401C90 #901C32 #6C901C #1C907A
split-complementary
#401C90 #907A1C #32901C
monochromatic
#12082A #29125D #401C90 #5726C3 #784ADC
Accessibility & contrast
On white
11.75
#401C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#401C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #401C90
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##401C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##401C90 | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#1F3E56
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #401c90; /* rgb */ color: rgb(64, 28, 144); /* oklch */ color: oklch(36.1% 0.174 288.5);
Tailwind
colors: {
custom: {
50: '#7f5db2',
500: '#401c90',
950: '#000000',
},
}SCSS
$custom: #401c90; $custom-light: #7f5db2; $custom-dark: #000000;
JSON
{
"hex": "#401c90",
"rgb": {
"r": 64,
"g": 28,
"b": 144
},
"hsl": {
"h": 258.621,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.36053,
"c": 0.1736,
"h": 288.5
},
"luminance": 0.03934
}Semantic roles & 50–950 ramp
primary
#401C90
secondary
#9ABE4A
accent
#EA3DB5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980