#401C93#401C93
#401C93 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.177 H 287.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #401C93 |
|---|---|
| RGB | rgb(64, 28, 147) |
| HSL | hsl(258, 68%, 34%) |
| HSV | hsv(258, 81%, 58%) |
| CMYK | cmyk(56.5%, 81%, 0%, 42.4%) |
| CIE-LAB | lab(23.76, 45.85, -58.58) |
| CIE-LCH | lch(23.76, 74.39, 308.05°) |
| OKLab | oklab(36.36% 0.054 -0.1686) |
| OKLCH | oklch(36.36% 0.177 287.8) |
| XYZ | xyz(7.7945, 4.0267, 27.9646) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 4.49
Indigo
#4B0082
ΔE00 4.93
Royal
#0C1793
ΔE00 5.05
Ultramarine
#2000B1
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#401C93 #6F931C
analogous
#1C3493 #401C93 #7C1C93
triadic
#401C93 #93401C #1C9340
tetradic
#401C93 #931C34 #6F931C #1C937C
square
#401C93 #931C34 #6F931C #1C937C
split-complementary
#401C93 #937C1C #34931C
monochromatic
#13082C #2A1260 #401C93 #5626C6 #784CDD
Accessibility & contrast
On white
11.63
#401C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#401C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #401C93
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##401C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##401C93 | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#1C3F58
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #401c93; /* rgb */ color: rgb(64, 28, 147); /* oklch */ color: oklch(36.4% 0.177 287.8);
Tailwind
colors: {
custom: {
50: '#7f5eb4',
500: '#401c93',
950: '#000000',
},
}SCSS
$custom: #401c93; $custom-light: #7f5eb4; $custom-dark: #000000;
JSON
{
"hex": "#401c93",
"rgb": {
"r": 64,
"g": 28,
"b": 147
},
"hsl": {
"h": 258.151,
"s": 68,
"l": 34.314
},
"oklch": {
"l": 0.3636,
"c": 0.17705,
"h": 287.8
},
"luminance": 0.04027
}Semantic roles & 50–950 ramp
primary
#401C93
secondary
#9CBF4C
accent
#EB3DB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980