#421F96#421F96
#421F96 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.178 H 287.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #421F96 |
|---|---|
| RGB | rgb(66, 31, 150) |
| HSL | hsl(258, 66%, 35%) |
| HSV | hsv(258, 79%, 59%) |
| CMYK | cmyk(56%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.76, 45.58, -58.77) |
| CIE-LCH | lch(24.76, 74.37, 307.80°) |
| OKLab | oklab(37.2% 0.0542 -0.1691) |
| OKLCH | oklch(37.2% 0.178 287.8) |
| XYZ | xyz(8.2401, 4.3398, 29.2517) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Indigo (survey)
#380282
ΔE00 5.24
Royal
#0C1793
ΔE00 5.42
Indigo
#4B0082
ΔE00 5.47
Ultramarine
#2000B1
ΔE00 5.80
Cobalt Blue
#030AA7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F96 #73961F
analogous
#1F3796 #421F96 #7D1F96
triadic
#421F96 #96421F #1F9642
tetradic
#421F96 #961F37 #73961F #1F967D
square
#421F96 #961F37 #73961F #1F967D
split-complementary
#421F96 #967D1F #37961F
monochromatic
#150A31 #2C1563 #421F96 #5829C9 #7C54DC
Accessibility & contrast
On white
11.24
#421F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#421F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F96
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F96 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#1E415A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #421f96; /* rgb */ color: rgb(66, 31, 150); /* oklch */ color: oklch(37.2% 0.178 287.8);
Tailwind
colors: {
custom: {
50: '#815fb6',
500: '#421f96',
950: '#000000',
},
}SCSS
$custom: #421f96; $custom-light: #815fb6; $custom-dark: #000000;
JSON
{
"hex": "#421f96",
"rgb": {
"r": 66,
"g": 31,
"b": 150
},
"hsl": {
"h": 257.647,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.37202,
"c": 0.17758,
"h": 287.8
},
"luminance": 0.0434
}Semantic roles & 50–950 ramp
primary
#421F96
secondary
#9FBF52
accent
#E93FB7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980