#421D8C#421D8C
#421D8C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.168 H 290.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #421D8C |
|---|---|
| RGB | rgb(66, 29, 140) |
| HSL | hsl(260, 66%, 33%) |
| HSV | hsv(260, 79%, 55%) |
| CMYK | cmyk(52.9%, 79.3%, 0%, 45.1%) |
| CIE-LAB | lab(23.44, 43.68, -54.75) |
| CIE-LCH | lch(23.44, 70.04, 308.58°) |
| OKLab | oklab(35.98% 0.0587 -0.1573) |
| OKLCH | oklch(35.98% 0.168 290.5) |
| XYZ | xyz(7.4184, 3.9301, 25.1736) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.28
Indigo
#4B0082
ΔE00 4.41
Indigo Blue
#3A18B1
ΔE00 5.37
Royal
#0C1793
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 6.62
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421D8C #678C1D
analogous
#1D2F8C #421D8C #791D8C
triadic
#421D8C #8C421D #1D8C42
tetradic
#421D8C #8C1D2F #678C1D #1D8C79
square
#421D8C #8C1D2F #678C1D #1D8C79
split-complementary
#421D8C #8C791D #2F8C1D
monochromatic
#120827 #2A1259 #421D8C #5A28BF #7A4AD9
Accessibility & contrast
On white
11.76
#421D8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#421D8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421D8C
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421D8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421D8C | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#273C54
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #421d8c; /* rgb */ color: rgb(66, 29, 140); /* oklch */ color: oklch(36.0% 0.168 290.5);
Tailwind
colors: {
custom: {
50: '#7f5eaf',
500: '#421d8c',
950: '#000000',
},
}SCSS
$custom: #421d8c; $custom-light: #7f5eaf; $custom-dark: #000000;
JSON
{
"hex": "#421d8c",
"rgb": {
"r": 66,
"g": 29,
"b": 140
},
"hsl": {
"h": 260,
"s": 65.68,
"l": 33.137
},
"oklch": {
"l": 0.35976,
"c": 0.16796,
"h": 290.5
},
"luminance": 0.0393
}Semantic roles & 50–950 ramp
primary
#421D8C
secondary
#95BC49
accent
#E93FB0
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F