#421E9A#421E9A
#421E9A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.183 H 287.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #421E9A |
|---|---|
| RGB | rgb(66, 30, 154) |
| HSL | hsl(257, 67%, 36%) |
| HSV | hsv(257, 81%, 60%) |
| CMYK | cmyk(57.1%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(25.01, 47.19, -60.82) |
| CIE-LCH | lch(25.01, 76.98, 307.81°) |
| OKLab | oklab(37.5% 0.0536 -0.1751) |
| OKLCH | oklch(37.5% 0.183 287) |
| XYZ | xyz(8.5420, 4.4194, 30.9685) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.33
Ultramarine
#2000B1
ΔE00 5.34
Royal
#0C1793
ΔE00 5.40
Indigo (survey)
#380282
ΔE00 5.44
Cobalt Blue
#030AA7
ΔE00 5.62
Indigo
#4B0082
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421E9A #769A1E
analogous
#1E389A #421E9A #801E9A
triadic
#421E9A #9A421E #1E9A42
tetradic
#421E9A #9A1E38 #769A1E #1E9A80
square
#421E9A #9A1E38 #769A1E #1E9A80
split-complementary
#421E9A #9A801E #389A1E
monochromatic
#160A34 #2C1467 #421E9A #5828CD #7C55DE
Accessibility & contrast
On white
11.15
#421E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#421E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421E9A
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421E9A | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#19435C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #421e9a; /* rgb */ color: rgb(66, 30, 154); /* oklch */ color: oklch(37.5% 0.183 287.0);
Tailwind
colors: {
custom: {
50: '#815fb9',
500: '#421e9a',
950: '#000000',
},
}SCSS
$custom: #421e9a; $custom-light: #815fb9; $custom-dark: #000000;
JSON
{
"hex": "#421e9a",
"rgb": {
"r": 66,
"g": 30,
"b": 154
},
"hsl": {
"h": 257.419,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.37497,
"c": 0.18312,
"h": 287
},
"luminance": 0.0442
}Semantic roles & 50–950 ramp
primary
#421E9A
secondary
#A1C153
accent
#EA3EB8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981