#421B95#421B95
#421B95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.180 H 288.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #421B95 |
|---|---|
| RGB | rgb(66, 27, 149) |
| HSL | hsl(259, 69%, 35%) |
| HSV | hsv(259, 82%, 58%) |
| CMYK | cmyk(55.7%, 81.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.04, 47.11, -59.35) |
| CIE-LCH | lch(24.04, 75.78, 308.44°) |
| OKLab | oklab(36.67% 0.0572 -0.1708) |
| OKLCH | oklch(36.67% 0.18 288.5) |
| XYZ | xyz(8.0619, 4.1116, 28.7968) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.58
Indigo
#4B0082
ΔE00 4.84
Royal
#0C1793
ΔE00 5.31
Ultramarine
#2000B1
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421B95 #6E951B
analogous
#1B3195 #421B95 #7F1B95
triadic
#421B95 #95421B #1B9542
tetradic
#421B95 #951B31 #6E951B #1B957F
square
#421B95 #951B31 #6E951B #1B957F
split-complementary
#421B95 #957F1B #31951B
monochromatic
#14082D #2B1261 #421B95 #5924C9 #7B4CDF
Accessibility & contrast
On white
11.52
#421B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#421B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421B95
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421B95 | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#1F3F59
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #421b95; /* rgb */ color: rgb(66, 27, 149); /* oklch */ color: oklch(36.7% 0.180 288.5);
Tailwind
colors: {
custom: {
50: '#815db5',
500: '#421b95',
950: '#000000',
},
}SCSS
$custom: #421b95; $custom-light: #815db5; $custom-dark: #000000;
JSON
{
"hex": "#421b95",
"rgb": {
"r": 66,
"g": 27,
"b": 149
},
"hsl": {
"h": 259.18,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.36666,
"c": 0.18011,
"h": 288.5
},
"luminance": 0.04112
}Semantic roles & 50–950 ramp
primary
#421B95
secondary
#9BC14B
accent
#EC3CB4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980