#421B90#421B90
#421B90 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.174 H 289.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).
Color values
| HEX | #421B90 |
|---|---|
| RGB | rgb(66, 27, 144) |
| HSL | hsl(260, 68%, 34%) |
| HSV | hsv(260, 81%, 56%) |
| CMYK | cmyk(54.2%, 81.3%, 0%, 43.5%) |
| CIE-LAB | lab(23.52, 45.72, -57.10) |
| CIE-LCH | lch(23.52, 73.15, 308.68°) |
| OKLab | oklab(36.16% 0.0589 -0.1642) |
| OKLCH | oklch(36.16% 0.174 289.7) |
| XYZ | xyz(7.6713, 3.9554, 26.7394) |
| Luminance | 0.0396 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.18
Indigo
#4B0082
ΔE00 4.39
Indigo Blue
#3A18B1
ΔE00 4.73
Royal
#0C1793
ΔE00 5.42
Ultramarine
#2000B1
ΔE00 6.04
Cobalt Blue
#030AA7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421B90 #69901B
analogous
#1B2E90 #421B90 #7C1B90
triadic
#421B90 #90421B #1B9042
tetradic
#421B90 #901B2E #69901B #1B907C
square
#421B90 #901B2E #69901B #1B907C
split-complementary
#421B90 #907C1B #2E901B
monochromatic
#130829 #2A115C #421B90 #5A25C4 #7A49DD
Accessibility & contrast
On white
11.72
#421B90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#421B90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421B90
11.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421B90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421B90 | 1.00 | 11.72 | 1.79 | 11.72 |
| #FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#243D56
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #421b90; /* rgb */ color: rgb(66, 27, 144); /* oklch */ color: oklch(36.2% 0.174 289.7);
Tailwind
colors: {
custom: {
50: '#805db2',
500: '#421b90',
950: '#000000',
},
}SCSS
$custom: #421b90; $custom-light: #805db2; $custom-dark: #000000;
JSON
{
"hex": "#421b90",
"rgb": {
"r": 66,
"g": 27,
"b": 144
},
"hsl": {
"h": 260,
"s": 68.421,
"l": 33.529
},
"oklch": {
"l": 0.36156,
"c": 0.17446,
"h": 289.7
},
"luminance": 0.03956
}Semantic roles & 50–950 ramp
primary
#421B90
secondary
#97BF48
accent
#EB3DB1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980