#421E90#421E90
#421E90 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.172 H 289.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #421E90 |
|---|---|
| RGB | rgb(66, 30, 144) |
| HSL | hsl(259, 66%, 34%) |
| HSV | hsv(259, 79%, 56%) |
| CMYK | cmyk(54.2%, 79.2%, 0%, 43.5%) |
| CIE-LAB | lab(24.00, 44.34, -56.32) |
| CIE-LCH | lch(24.00, 71.68, 308.22°) |
| OKLab | oklab(36.49% 0.0568 -0.1619) |
| OKLCH | oklch(36.49% 0.172 289.3) |
| XYZ | xyz(7.7436, 4.1001, 26.7635) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.65
Indigo Blue
#3A18B1
ΔE00 4.78
Indigo
#4B0082
ΔE00 4.84
Royal
#0C1793
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421E90 #6C901E
analogous
#1E3390 #421E90 #7B1E90
triadic
#421E90 #90421E #1E9042
tetradic
#421E90 #901E33 #6C901E #1E907B
square
#421E90 #901E33 #6C901E #1E907B
split-complementary
#421E90 #907B1E #33901E
monochromatic
#14092B #2B135D #421E90 #5929C3 #7A4EDA
Accessibility & contrast
On white
11.54
#421E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#421E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421E90
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421E90 | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#243F56
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #421e90; /* rgb */ color: rgb(66, 30, 144); /* oklch */ color: oklch(36.5% 0.172 289.3);
Tailwind
colors: {
custom: {
50: '#805fb2',
500: '#421e90',
950: '#000000',
},
}SCSS
$custom: #421e90; $custom-light: #805fb2; $custom-dark: #000000;
JSON
{
"hex": "#421e90",
"rgb": {
"r": 66,
"g": 30,
"b": 144
},
"hsl": {
"h": 258.947,
"s": 65.517,
"l": 34.118
},
"oklch": {
"l": 0.36487,
"c": 0.17161,
"h": 289.3
},
"luminance": 0.041
}Semantic roles & 50–950 ramp
primary
#421E90
secondary
#9ABD4D
accent
#E83FB3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980