#421D95#421D95
#421D95 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.178 H 288.3°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #421D95 |
|---|---|
| RGB | rgb(66, 29, 149) |
| HSL | hsl(259, 67%, 35%) |
| HSV | hsv(259, 81%, 58%) |
| CMYK | cmyk(55.7%, 80.5%, 0%, 41.6%) |
| CIE-LAB | lab(24.34, 46.23, -58.85) |
| CIE-LCH | lch(24.34, 74.83, 308.15°) |
| OKLab | oklab(36.88% 0.0559 -0.1693) |
| OKLCH | oklch(36.88% 0.178 288.3) |
| XYZ | xyz(8.1093, 4.2065, 28.8126) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.01
Indigo (survey)
#380282
ΔE00 4.85
Indigo
#4B0082
ΔE00 5.10
Royal
#0C1793
ΔE00 5.35
Ultramarine
#2000B1
ΔE00 5.68
Cobalt Blue
#030AA7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421D95 #70951D
analogous
#1D3495 #421D95 #7E1D95
triadic
#421D95 #95421D #1D9542
tetradic
#421D95 #951D34 #70951D #1D957E
square
#421D95 #951D34 #70951D #1D957E
split-complementary
#421D95 #957E1D #34951D
monochromatic
#15092F #2B1362 #421D95 #5927C8 #7B50DD
Accessibility & contrast
On white
11.40
#421D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#421D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421D95
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421D95 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#1F4059
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #421d95; /* rgb */ color: rgb(66, 29, 149); /* oklch */ color: oklch(36.9% 0.178 288.3);
Tailwind
colors: {
custom: {
50: '#805eb5',
500: '#421d95',
950: '#000000',
},
}SCSS
$custom: #421d95; $custom-light: #805eb5; $custom-dark: #000000;
JSON
{
"hex": "#421d95",
"rgb": {
"r": 66,
"g": 29,
"b": 149
},
"hsl": {
"h": 258.5,
"s": 67.416,
"l": 34.902
},
"oklch": {
"l": 0.36878,
"c": 0.17832,
"h": 288.3
},
"luminance": 0.04207
}Semantic roles & 50–950 ramp
primary
#421D95
secondary
#9DC04E
accent
#EA3DB5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980