#421C97#421C97
#421C97 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.181 H 287.9°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #421C97 |
|---|---|
| RGB | rgb(66, 28, 151) |
| HSL | hsl(259, 69%, 35%) |
| HSV | hsv(259, 81%, 59%) |
| CMYK | cmyk(56.3%, 81.5%, 0%, 40.8%) |
| CIE-LAB | lab(24.39, 47.23, -59.99) |
| CIE-LCH | lch(24.39, 76.36, 308.22°) |
| OKLab | oklab(36.98% 0.0559 -0.1727) |
| OKLCH | oklch(36.98% 0.181 287.9) |
| XYZ | xyz(8.2463, 4.2227, 29.6527) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 4.89
Indigo
#4B0082
ΔE00 5.16
Royal
#0C1793
ΔE00 5.32
Ultramarine
#2000B1
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C97 #71971C
analogous
#1C3397 #421C97 #801C97
triadic
#421C97 #97421C #1C9742
tetradic
#421C97 #971C33 #71971C #1C9780
square
#421C97 #971C33 #71971C #1C9780
split-complementary
#421C97 #97801C #33971C
monochromatic
#150930 #2B1263 #421C97 #5926CB #7B4FDE
Accessibility & contrast
On white
11.38
#421C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#421C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C97
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C97 | 1.00 | 11.38 | 1.84 | 11.38 |
| #FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#1D415A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #421c97; /* rgb */ color: rgb(66, 28, 151); /* oklch */ color: oklch(37.0% 0.181 287.9);
Tailwind
colors: {
custom: {
50: '#815eb7',
500: '#421c97',
950: '#000000',
},
}SCSS
$custom: #421c97; $custom-light: #815eb7; $custom-dark: #000000;
JSON
{
"hex": "#421c97",
"rgb": {
"r": 66,
"g": 28,
"b": 151
},
"hsl": {
"h": 258.537,
"s": 68.715,
"l": 35.098
},
"oklch": {
"l": 0.36976,
"c": 0.18149,
"h": 287.9
},
"luminance": 0.04223
}Semantic roles & 50–950 ramp
primary
#421C97
secondary
#9DC14E
accent
#EC3CB5
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980