#421F90#421F90
#421F90 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.171 H 289.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #421F90 |
|---|---|
| RGB | rgb(66, 31, 144) |
| HSL | hsl(259, 65%, 34%) |
| HSV | hsv(259, 78%, 56%) |
| CMYK | cmyk(54.2%, 78.5%, 0%, 43.5%) |
| CIE-LAB | lab(24.17, 43.87, -56.04) |
| CIE-LCH | lch(24.17, 71.17, 308.05°) |
| OKLab | oklab(36.6% 0.056 -0.1611) |
| OKLCH | oklch(36.6% 0.171 289.2) |
| XYZ | xyz(7.7693, 4.1515, 26.7721) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.81
Indigo (survey)
#380282
ΔE00 4.82
Indigo
#4B0082
ΔE00 5.00
Royal
#0C1793
ΔE00 5.54
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F90 #6D901F
analogous
#1F3590 #421F90 #7B1F90
triadic
#421F90 #90421F #1F9042
tetradic
#421F90 #901F35 #6D901F #1F907B
square
#421F90 #901F35 #6D901F #1F907B
split-complementary
#421F90 #907B1F #35901F
monochromatic
#14092B #2B145E #421F90 #592AC2 #7B50D9
Accessibility & contrast
On white
11.47
#421F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#421F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F90
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F90 | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#243F57
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #421f90; /* rgb */ color: rgb(66, 31, 144); /* oklch */ color: oklch(36.6% 0.171 289.2);
Tailwind
colors: {
custom: {
50: '#805fb2',
500: '#421f90',
950: '#000000',
},
}SCSS
$custom: #421f90; $custom-light: #805fb2; $custom-dark: #000000;
JSON
{
"hex": "#421f90",
"rgb": {
"r": 66,
"g": 31,
"b": 144
},
"hsl": {
"h": 258.584,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.36604,
"c": 0.1706,
"h": 289.2
},
"luminance": 0.04152
}Semantic roles & 50–950 ramp
primary
#421F90
secondary
#9ABC4E
accent
#E840B4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980