#421C8F#421C8F
#421C8F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.172 H 289.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #421C8F |
|---|---|
| RGB | rgb(66, 28, 143) |
| HSL | hsl(260, 67%, 34%) |
| HSV | hsv(260, 80%, 56%) |
| CMYK | cmyk(53.8%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(23.58, 44.99, -56.39) |
| CIE-LCH | lch(23.58, 72.14, 308.58°) |
| OKLab | oklab(36.16% 0.0586 -0.1621) |
| OKLCH | oklch(36.16% 0.172 289.9) |
| XYZ | xyz(7.6185, 3.9716, 26.3464) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.27
Indigo
#4B0082
ΔE00 4.46
Indigo Blue
#3A18B1
ΔE00 4.89
Royal
#0C1793
ΔE00 5.48
Ultramarine
#2000B1
ΔE00 6.24
Cobalt Blue
#030AA7
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C8F #698F1C
analogous
#1C2F8F #421C8F #7B1C8F
triadic
#421C8F #8F421C #1C8F42
tetradic
#421C8F #8F1C2F #698F1C #1C8F7B
square
#421C8F #8F1C2F #698F1C #1C8F7B
split-complementary
#421C8F #8F7B1C #2F8F1C
monochromatic
#130829 #2A125C #421C8F #5A26C2 #7A4ADC
Accessibility & contrast
On white
11.70
#421C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#421C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C8F
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C8F | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#253D55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #421c8f; /* rgb */ color: rgb(66, 28, 143); /* oklch */ color: oklch(36.2% 0.172 289.9);
Tailwind
colors: {
custom: {
50: '#805eb1',
500: '#421c8f',
950: '#000000',
},
}SCSS
$custom: #421c8f; $custom-light: #805eb1; $custom-dark: #000000;
JSON
{
"hex": "#421c8f",
"rgb": {
"r": 66,
"g": 28,
"b": 143
},
"hsl": {
"h": 259.826,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.36163,
"c": 0.17239,
"h": 289.9
},
"luminance": 0.03972
}Semantic roles & 50–950 ramp
primary
#421C8F
secondary
#97BE49
accent
#EA3EB1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980