#421C96#421C96
#421C96 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.180 H 288.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #421C96 |
|---|---|
| RGB | rgb(66, 28, 150) |
| HSL | hsl(259, 69%, 35%) |
| HSV | hsv(259, 81%, 59%) |
| CMYK | cmyk(56%, 81.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.29, 46.95, -59.55) |
| CIE-LCH | lch(24.29, 75.83, 308.26°) |
| OKLab | oklab(36.87% 0.0562 -0.1714) |
| OKLCH | oklch(36.87% 0.18 288.2) |
| XYZ | xyz(8.1654, 4.1903, 29.2268) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.85
Indigo (survey)
#380282
ΔE00 4.80
Indigo
#4B0082
ΔE00 5.06
Royal
#0C1793
ΔE00 5.32
Ultramarine
#2000B1
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C96 #70961C
analogous
#1C3396 #421C96 #7F1C96
triadic
#421C96 #96421C #1C9642
tetradic
#421C96 #961C33 #70961C #1C967F
square
#421C96 #961C33 #70961C #1C967F
split-complementary
#421C96 #967F1C #33961C
monochromatic
#15092F #2B1262 #421C96 #5926CA #7B4EDE
Accessibility & contrast
On white
11.42
#421C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#421C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C96
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C96 | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#1E4059
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #421c96; /* rgb */ color: rgb(66, 28, 150); /* oklch */ color: oklch(36.9% 0.180 288.2);
Tailwind
colors: {
custom: {
50: '#815eb6',
500: '#421c96',
950: '#000000',
},
}SCSS
$custom: #421c96; $custom-light: #815eb6; $custom-dark: #000000;
JSON
{
"hex": "#421c96",
"rgb": {
"r": 66,
"g": 28,
"b": 150
},
"hsl": {
"h": 258.689,
"s": 68.539,
"l": 34.902
},
"oklch": {
"l": 0.36873,
"c": 0.18036,
"h": 288.2
},
"luminance": 0.04191
}Semantic roles & 50–950 ramp
primary
#421C96
secondary
#9DC14D
accent
#EB3CB5
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980