#421996#421996
#421996 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.183 H 288.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #421996 |
|---|---|
| RGB | rgb(66, 25, 150) |
| HSL | hsl(260, 71%, 34%) |
| HSV | hsv(260, 83%, 59%) |
| CMYK | cmyk(56%, 83.3%, 0%, 41.2%) |
| CIE-LAB | lab(23.85, 48.23, -60.27) |
| CIE-LCH | lch(23.85, 77.19, 308.67°) |
| OKLab | oklab(36.57% 0.0582 -0.1734) |
| OKLCH | oklch(36.57% 0.183 288.5) |
| XYZ | xyz(8.0978, 4.0551, 29.2043) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Indigo (survey)
#380282
ΔE00 4.42
Indigo
#4B0082
ΔE00 4.71
Ultramarine
#2000B1
ΔE00 5.24
Royal
#0C1793
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421996 #6D9619
analogous
#192F96 #421996 #811996
triadic
#421996 #964219 #199642
tetradic
#421996 #96192F #6D9619 #199681
square
#421996 #96192F #6D9619 #199681
split-complementary
#421996 #968119 #2F9619
monochromatic
#14082D #2B1062 #421996 #5922CA #7B49E1
Accessibility & contrast
On white
11.59
#421996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#421996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421996
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421996 | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#1E3F59
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #421996; /* rgb */ color: rgb(66, 25, 150); /* oklch */ color: oklch(36.6% 0.183 288.5);
Tailwind
colors: {
custom: {
50: '#815db6',
500: '#421996',
950: '#000000',
},
}SCSS
$custom: #421996; $custom-light: #815db6; $custom-dark: #000000;
JSON
{
"hex": "#421996",
"rgb": {
"r": 66,
"g": 25,
"b": 150
},
"hsl": {
"h": 259.68,
"s": 71.429,
"l": 34.314
},
"oklch": {
"l": 0.3657,
"c": 0.18293,
"h": 288.5
},
"luminance": 0.04056
}Semantic roles & 50–950 ramp
primary
#421996
secondary
#9AC249
accent
#EE3AB3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980