#421C8E#421C8E
#421C8E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.171 H 290.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #421C8E |
|---|---|
| RGB | rgb(66, 28, 142) |
| HSL | hsl(260, 67%, 33%) |
| HSV | hsv(260, 80%, 56%) |
| CMYK | cmyk(53.5%, 80.3%, 0%, 44.3%) |
| CIE-LAB | lab(23.48, 44.71, -55.94) |
| CIE-LCH | lch(23.48, 71.61, 308.64°) |
| OKLab | oklab(36.06% 0.0589 -0.1608) |
| OKLCH | oklch(36.06% 0.171 290.1) |
| XYZ | xyz(7.5431, 3.9414, 25.9493) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.21
Indigo
#4B0082
ΔE00 4.38
Indigo Blue
#3A18B1
ΔE00 5.04
Royal
#0C1793
ΔE00 5.52
Cobalt Blue
#030AA7
ΔE00 6.34
Ultramarine
#2000B1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C8E #688E1C
analogous
#1C2F8E #421C8E #7B1C8E
triadic
#421C8E #8E421C #1C8E42
tetradic
#421C8E #8E1C2F #688E1C #1C8E7B
square
#421C8E #8E1C2F #688E1C #1C8E7B
split-complementary
#421C8E #8E7B1C #2F8E1C
monochromatic
#120828 #2A125B #421C8E #5A26C1 #7A49DB
Accessibility & contrast
On white
11.74
#421C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#421C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C8E
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C8E | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#263D55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #421c8e; /* rgb */ color: rgb(66, 28, 142); /* oklch */ color: oklch(36.1% 0.171 290.1);
Tailwind
colors: {
custom: {
50: '#7f5db0',
500: '#421c8e',
950: '#000000',
},
}SCSS
$custom: #421c8e; $custom-light: #7f5db0; $custom-dark: #000000;
JSON
{
"hex": "#421c8e",
"rgb": {
"r": 66,
"g": 28,
"b": 142
},
"hsl": {
"h": 260,
"s": 67.059,
"l": 33.333
},
"oklch": {
"l": 0.36063,
"c": 0.17125,
"h": 290.1
},
"luminance": 0.03942
}Semantic roles & 50–950 ramp
primary
#421C8E
secondary
#96BD49
accent
#EA3EB1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980