#421C8D#421C8D
#421C8D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.170 H 290.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #421C8D |
|---|---|
| RGB | rgb(66, 28, 141) |
| HSL | hsl(260, 67%, 33%) |
| HSV | hsv(260, 80%, 55%) |
| CMYK | cmyk(53.2%, 80.1%, 0%, 44.7%) |
| CIE-LAB | lab(23.38, 44.43, -55.48) |
| CIE-LCH | lch(23.38, 71.08, 308.69°) |
| OKLab | oklab(35.96% 0.0592 -0.1595) |
| OKLCH | oklch(35.96% 0.17 290.4) |
| XYZ | xyz(7.4684, 3.9115, 25.5556) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.15
Indigo
#4B0082
ΔE00 4.31
Indigo Blue
#3A18B1
ΔE00 5.20
Royal
#0C1793
ΔE00 5.57
Cobalt Blue
#030AA7
ΔE00 6.44
Ultramarine
#2000B1
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C8D #678D1C
analogous
#1C2E8D #421C8D #7A1C8D
triadic
#421C8D #8D421C #1C8D42
tetradic
#421C8D #8D1C2E #678D1C #1C8D7A
square
#421C8D #8D1C2E #678D1C #1C8D7A
split-complementary
#421C8D #8D7A1C #2E8D1C
monochromatic
#120827 #2A125A #421C8D #5A26C0 #7A49DB
Accessibility & contrast
On white
11.78
#421C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#421C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C8D
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C8D | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#273C54
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #421c8d; /* rgb */ color: rgb(66, 28, 141); /* oklch */ color: oklch(36.0% 0.170 290.4);
Tailwind
colors: {
custom: {
50: '#7f5daf',
500: '#421c8d',
950: '#000000',
},
}SCSS
$custom: #421c8d; $custom-light: #7f5daf; $custom-dark: #000000;
JSON
{
"hex": "#421c8d",
"rgb": {
"r": 66,
"g": 28,
"b": 141
},
"hsl": {
"h": 260.177,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.35963,
"c": 0.1701,
"h": 290.4
},
"luminance": 0.03912
}Semantic roles & 50–950 ramp
primary
#421C8D
secondary
#95BD48
accent
#EA3EB0
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980