#421F9A#421F9A
#421F9A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.182 H 286.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #421F9A |
|---|---|
| RGB | rgb(66, 31, 154) |
| HSL | hsl(257, 66%, 36%) |
| HSV | hsv(257, 80%, 60%) |
| CMYK | cmyk(57.1%, 79.9%, 0%, 39.6%) |
| CIE-LAB | lab(25.17, 46.73, -60.56) |
| CIE-LCH | lch(25.17, 76.49, 307.66°) |
| OKLab | oklab(37.61% 0.0529 -0.1743) |
| OKLCH | oklch(37.61% 0.182 286.9) |
| XYZ | xyz(8.5677, 4.4708, 30.9771) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.37
Royal
#0C1793
ΔE00 5.44
Ultramarine
#2000B1
ΔE00 5.45
Indigo (survey)
#380282
ΔE00 5.58
Cobalt Blue
#030AA7
ΔE00 5.71
Indigo
#4B0082
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F9A #779A1F
analogous
#1F3A9A #421F9A #801F9A
triadic
#421F9A #9A421F #1F9A42
tetradic
#421F9A #9A1F3A #779A1F #1F9A80
square
#421F9A #9A1F3A #779A1F #1F9A80
split-complementary
#421F9A #9A801F #3A9A1F
monochromatic
#160A34 #2C1567 #421F9A #5829CD #7D56DD
Accessibility & contrast
On white
11.09
#421F9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#421F9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F9A
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F9A | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#19435C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #421f9a; /* rgb */ color: rgb(66, 31, 154); /* oklch */ color: oklch(37.6% 0.182 286.9);
Tailwind
colors: {
custom: {
50: '#8160b9',
500: '#421f9a',
950: '#000000',
},
}SCSS
$custom: #421f9a; $custom-light: #8160b9; $custom-dark: #000000;
JSON
{
"hex": "#421f9a",
"rgb": {
"r": 66,
"g": 31,
"b": 154
},
"hsl": {
"h": 257.073,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.37607,
"c": 0.1822,
"h": 286.9
},
"luminance": 0.04471
}Semantic roles & 50–950 ramp
primary
#421F9A
secondary
#A2C154
accent
#E93EB9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981