#421E95#421E95
#421E95 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.177 H 288.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #421E95 |
|---|---|
| RGB | rgb(66, 30, 149) |
| HSL | hsl(258, 66%, 35%) |
| HSV | hsv(258, 80%, 58%) |
| CMYK | cmyk(55.7%, 79.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.50, 45.77, -58.58) |
| CIE-LCH | lch(24.50, 74.34, 308.00°) |
| OKLab | oklab(36.99% 0.0552 -0.1686) |
| OKLCH | oklch(36.99% 0.177 288.1) |
| XYZ | xyz(8.1343, 4.2563, 28.8209) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.04
Indigo (survey)
#380282
ΔE00 5.00
Indigo
#4B0082
ΔE00 5.24
Royal
#0C1793
ΔE00 5.38
Ultramarine
#2000B1
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421E95 #71951E
analogous
#1E3695 #421E95 #7D1E95
triadic
#421E95 #95421E #1E9542
tetradic
#421E95 #951E36 #71951E #1E957D
square
#421E95 #951E36 #71951E #1E957D
split-complementary
#421E95 #957D1E #36951E
monochromatic
#15092F #2B1462 #421E95 #5928C8 #7B51DC
Accessibility & contrast
On white
11.34
#421E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#421E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421E95
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421E95 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#1F4159
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #421e95; /* rgb */ color: rgb(66, 30, 149); /* oklch */ color: oklch(37.0% 0.177 288.1);
Tailwind
colors: {
custom: {
50: '#805fb5',
500: '#421e95',
950: '#000000',
},
}SCSS
$custom: #421e95; $custom-light: #805fb5; $custom-dark: #000000;
JSON
{
"hex": "#421e95",
"rgb": {
"r": 66,
"g": 30,
"b": 149
},
"hsl": {
"h": 258.151,
"s": 66.48,
"l": 35.098
},
"oklch": {
"l": 0.36988,
"c": 0.17737,
"h": 288.1
},
"luminance": 0.04257
}Semantic roles & 50–950 ramp
primary
#421E95
secondary
#9DBF50
accent
#E93EB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980