#401CAD#401CAD
#401CAD is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.1% C 0.206 H 282.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #401CAD |
|---|---|
| RGB | rgb(64, 28, 173) |
| HSL | hsl(255, 72%, 39%) |
| HSV | hsv(255, 84%, 68%) |
| CMYK | cmyk(63%, 83.8%, 0%, 32.2%) |
| CIE-LAB | lab(26.55, 53.17, -69.81) |
| CIE-LCH | lch(26.55, 87.75, 307.29°) |
| OKLab | oklab(39.12% 0.0451 -0.2013) |
| OKLCH | oklch(39.12% 0.206 282.6) |
| XYZ | xyz(10.0701, 4.9369, 39.9493) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.98
Ultramarine
#2000B1
ΔE00 4.18
Violet Blue
#510AC9
ΔE00 4.24
True Blue
#010FCC
ΔE00 4.71
Mediumblue
#0000CD
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#401CAD #89AD1C
analogous
#1C40AD #401CAD #891CAD
triadic
#401CAD #AD401C #1CAD40
tetradic
#401CAD #AD1C40 #89AD1C #1CAD89
square
#401CAD #AD1C40 #89AD1C #1CAD89
split-complementary
#401CAD #AD891C #40AD1C
monochromatic
#190B44 #2D1378 #401CAD #562ADC #805EE5
Accessibility & contrast
On white
10.57
#401CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#401CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #401CAD
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##401CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##401CAD | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #401cad; /* rgb */ color: rgb(64, 28, 173); /* oklch */ color: oklch(39.1% 0.206 282.6);
Tailwind
colors: {
custom: {
50: '#845fc7',
500: '#401cad',
950: '#000000',
},
}SCSS
$custom: #401cad; $custom-light: #845fc7; $custom-dark: #000000;
JSON
{
"hex": "#401cad",
"rgb": {
"r": 64,
"g": 28,
"b": 173
},
"hsl": {
"h": 254.897,
"s": 72.139,
"l": 39.412
},
"oklch": {
"l": 0.39117,
"c": 0.20633,
"h": 282.6
},
"luminance": 0.04938
}Semantic roles & 50–950 ramp
primary
#401CAD
secondary
#AEC95C
accent
#EF39C2
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982