#421E8E#421E8E
#421E8E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.169 H 289.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #421E8E |
|---|---|
| RGB | rgb(66, 30, 142) |
| HSL | hsl(259, 65%, 34%) |
| HSV | hsv(259, 79%, 56%) |
| CMYK | cmyk(53.5%, 78.9%, 0%, 44.3%) |
| CIE-LAB | lab(23.80, 43.77, -55.40) |
| CIE-LCH | lch(23.80, 70.61, 308.31°) |
| OKLab | oklab(36.29% 0.0574 -0.1593) |
| OKLCH | oklch(36.29% 0.169 289.8) |
| XYZ | xyz(7.5921, 4.0395, 25.9656) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.54
Indigo
#4B0082
ΔE00 4.70
Indigo Blue
#3A18B1
ΔE00 5.08
Royal
#0C1793
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 6.50
Ultramarine
#2000B1
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421E8E #6A8E1E
analogous
#1E328E #421E8E #7A1E8E
triadic
#421E8E #8E421E #1E8E42
tetradic
#421E8E #8E1E32 #6A8E1E #1E8E7A
square
#421E8E #8E1E32 #6A8E1E #1E8E7A
split-complementary
#421E8E #8E7A1E #328E1E
monochromatic
#130929 #2B135B #421E8E #5929C1 #7A4DD9
Accessibility & contrast
On white
11.62
#421E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#421E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421E8E
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421E8E | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#263E55
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #421e8e; /* rgb */ color: rgb(66, 30, 142); /* oklch */ color: oklch(36.3% 0.169 289.8);
Tailwind
colors: {
custom: {
50: '#7f5eb0',
500: '#421e8e',
950: '#000000',
},
}SCSS
$custom: #421e8e; $custom-light: #7f5eb0; $custom-dark: #000000;
JSON
{
"hex": "#421e8e",
"rgb": {
"r": 66,
"g": 30,
"b": 142
},
"hsl": {
"h": 259.286,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.36289,
"c": 0.16927,
"h": 289.8
},
"luminance": 0.0404
}Semantic roles & 50–950 ramp
primary
#421E8E
secondary
#98BC4C
accent
#E840B2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980