#421E99#421E99
#421E99 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 287.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #421E99 |
|---|---|
| RGB | rgb(66, 30, 153) |
| HSL | hsl(258, 67%, 36%) |
| HSV | hsv(258, 80%, 60%) |
| CMYK | cmyk(56.9%, 80.4%, 0%, 40%) |
| CIE-LAB | lab(24.91, 46.90, -60.37) |
| CIE-LCH | lch(24.91, 76.45, 307.84°) |
| OKLab | oklab(37.4% 0.0539 -0.1738) |
| OKLCH | oklch(37.4% 0.182 287.2) |
| XYZ | xyz(8.4591, 4.3862, 30.5317) |
| Luminance | 0.0439 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 5.35
Royal
#0C1793
ΔE00 5.39
Ultramarine
#2000B1
ΔE00 5.42
Indigo
#4B0082
ΔE00 5.60
Cobalt Blue
#030AA7
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421E99 #75991E
analogous
#1E3799 #421E99 #7F1E99
triadic
#421E99 #99421E #1E9942
tetradic
#421E99 #991E37 #75991E #1E997F
square
#421E99 #991E37 #75991E #1E997F
split-complementary
#421E99 #997F1E #37991E
monochromatic
#160A33 #2C1466 #421E99 #5828CC #7C54DD
Accessibility & contrast
On white
11.19
#421E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#421E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421E99
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421E99 | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#1A425C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #421e99; /* rgb */ color: rgb(66, 30, 153); /* oklch */ color: oklch(37.4% 0.182 287.2);
Tailwind
colors: {
custom: {
50: '#815fb8',
500: '#421e99',
950: '#000000',
},
}SCSS
$custom: #421e99; $custom-light: #815fb8; $custom-dark: #000000;
JSON
{
"hex": "#421e99",
"rgb": {
"r": 66,
"g": 30,
"b": 153
},
"hsl": {
"h": 257.561,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.37395,
"c": 0.18197,
"h": 287.2
},
"luminance": 0.04387
}Semantic roles & 50–950 ramp
primary
#421E99
secondary
#A0C152
accent
#EA3EB8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981