#421E96#421E96
#421E96 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.179 H 287.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #421E96 |
|---|---|
| RGB | rgb(66, 30, 150) |
| HSL | hsl(258, 67%, 35%) |
| HSV | hsv(258, 80%, 59%) |
| CMYK | cmyk(56%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(24.60, 46.05, -59.03) |
| CIE-LCH | lch(24.60, 74.87, 307.96°) |
| OKLab | oklab(37.09% 0.0549 -0.1699) |
| OKLCH | oklch(37.09% 0.179 287.9) |
| XYZ | xyz(8.2144, 4.2884, 29.2431) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Indigo (survey)
#380282
ΔE00 5.08
Indigo
#4B0082
ΔE00 5.33
Royal
#0C1793
ΔE00 5.38
Ultramarine
#2000B1
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421E96 #72961E
analogous
#1E3696 #421E96 #7E1E96
triadic
#421E96 #96421E #1E9642
tetradic
#421E96 #961E36 #72961E #1E967E
square
#421E96 #961E36 #72961E #1E967E
split-complementary
#421E96 #967E1E #36961E
monochromatic
#150A30 #2C1463 #421E96 #5828C9 #7C52DC
Accessibility & contrast
On white
11.30
#421E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#421E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421E96
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421E96 | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#1E415A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #421e96; /* rgb */ color: rgb(66, 30, 150); /* oklch */ color: oklch(37.1% 0.179 287.9);
Tailwind
colors: {
custom: {
50: '#815fb6',
500: '#421e96',
950: '#000000',
},
}SCSS
$custom: #421e96; $custom-light: #815fb6; $custom-dark: #000000;
JSON
{
"hex": "#421e96",
"rgb": {
"r": 66,
"g": 30,
"b": 150
},
"hsl": {
"h": 258,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.3709,
"c": 0.17853,
"h": 287.9
},
"luminance": 0.04289
}Semantic roles & 50–950 ramp
primary
#421E96
secondary
#9EBF50
accent
#EA3EB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980