#421F93#421F93
#421F93 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.174 H 288.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #421F93 |
|---|---|
| RGB | rgb(66, 31, 147) |
| HSL | hsl(258, 65%, 35%) |
| HSV | hsv(258, 79%, 58%) |
| CMYK | cmyk(55.1%, 78.9%, 0%, 42.4%) |
| CIE-LAB | lab(24.46, 44.73, -57.41) |
| CIE-LCH | lch(24.46, 72.78, 307.92°) |
| OKLab | oklab(36.9% 0.0551 -0.1651) |
| OKLCH | oklch(36.9% 0.174 288.4) |
| XYZ | xyz(8.0017, 4.2444, 27.9957) |
| Luminance | 0.0425 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 5.01
Indigo
#4B0082
ΔE00 5.22
Royal
#0C1793
ΔE00 5.45
Ultramarine
#2000B1
ΔE00 6.10
Cobalt Blue
#030AA7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F93 #70931F
analogous
#1F3693 #421F93 #7C1F93
triadic
#421F93 #93421F #1F9342
tetradic
#421F93 #931F36 #70931F #1F937C
square
#421F93 #931F36 #70931F #1F937C
split-complementary
#421F93 #937C1F #36931F
monochromatic
#150A2E #2B1460 #421F93 #592AC6 #7B52DA
Accessibility & contrast
On white
11.36
#421F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#421F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F93
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F93 | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#214058
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #421f93; /* rgb */ color: rgb(66, 31, 147); /* oklch */ color: oklch(36.9% 0.174 288.4);
Tailwind
colors: {
custom: {
50: '#805fb4',
500: '#421f93',
950: '#000000',
},
}SCSS
$custom: #421f93; $custom-light: #805fb4; $custom-dark: #000000;
JSON
{
"hex": "#421f93",
"rgb": {
"r": 66,
"g": 31,
"b": 147
},
"hsl": {
"h": 258.103,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36901,
"c": 0.1741,
"h": 288.4
},
"luminance": 0.04245
}Semantic roles & 50–950 ramp
primary
#421F93
secondary
#9DBE50
accent
#E840B5
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980