#421F95#421F95
#421F95 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.176 H 288.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #421F95 |
|---|---|
| RGB | rgb(66, 31, 149) |
| HSL | hsl(258, 66%, 35%) |
| HSV | hsv(258, 79%, 58%) |
| CMYK | cmyk(55.7%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(24.66, 45.30, -58.32) |
| CIE-LCH | lch(24.66, 73.84, 307.84°) |
| OKLab | oklab(37.1% 0.0545 -0.1678) |
| OKLCH | oklch(37.1% 0.176 288) |
| XYZ | xyz(8.1600, 4.3077, 28.8294) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 5.16
Indigo
#4B0082
ΔE00 5.38
Royal
#0C1793
ΔE00 5.42
Ultramarine
#2000B1
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F95 #72951F
analogous
#1F3795 #421F95 #7D1F95
triadic
#421F95 #95421F #1F9542
tetradic
#421F95 #951F37 #72951F #1F957D
square
#421F95 #951F37 #72951F #1F957D
split-complementary
#421F95 #957D1F #37951F
monochromatic
#150A30 #2C1462 #421F95 #582AC8 #7C53DB
Accessibility & contrast
On white
11.28
#421F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#421F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F95
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F95 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#1F415A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #421f95; /* rgb */ color: rgb(66, 31, 149); /* oklch */ color: oklch(37.1% 0.176 288.0);
Tailwind
colors: {
custom: {
50: '#805fb5',
500: '#421f95',
950: '#000000',
},
}SCSS
$custom: #421f95; $custom-light: #805fb5; $custom-dark: #000000;
JSON
{
"hex": "#421f95",
"rgb": {
"r": 66,
"g": 31,
"b": 149
},
"hsl": {
"h": 257.797,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.37102,
"c": 0.17642,
"h": 288
},
"luminance": 0.04308
}Semantic roles & 50–950 ramp
primary
#421F95
secondary
#9EBF51
accent
#E93FB6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980