#421C8C#421C8C
#421C8C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.169 H 290.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #421C8C |
|---|---|
| RGB | rgb(66, 28, 140) |
| HSL | hsl(260, 67%, 33%) |
| HSV | hsv(260, 80%, 55%) |
| CMYK | cmyk(52.9%, 80%, 0%, 45.1%) |
| CIE-LAB | lab(23.28, 44.15, -55.02) |
| CIE-LCH | lch(23.28, 70.54, 308.74°) |
| OKLab | oklab(35.86% 0.0595 -0.1581) |
| OKLCH | oklch(35.86% 0.169 290.6) |
| XYZ | xyz(7.3943, 3.8819, 25.1655) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.11
Indigo
#4B0082
ΔE00 4.25
Indigo Blue
#3A18B1
ΔE00 5.35
Royal
#0C1793
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 6.54
Ultramarine
#2000B1
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C8C #668C1C
analogous
#1C2E8C #421C8C #7A1C8C
triadic
#421C8C #8C421C #1C8C42
tetradic
#421C8C #8C1C2E #668C1C #1C8C7A
square
#421C8C #8C1C2E #668C1C #1C8C7A
split-complementary
#421C8C #8C7A1C #2E8C1C
monochromatic
#120826 #2A1259 #421C8C #5A26BF #7A48DA
Accessibility & contrast
On white
11.82
#421C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#421C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C8C
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C8C | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#273C54
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #421c8c; /* rgb */ color: rgb(66, 28, 140); /* oklch */ color: oklch(35.9% 0.169 290.6);
Tailwind
colors: {
custom: {
50: '#7f5daf',
500: '#421c8c',
950: '#000000',
},
}SCSS
$custom: #421c8c; $custom-light: #7f5daf; $custom-dark: #000000;
JSON
{
"hex": "#421c8c",
"rgb": {
"r": 66,
"g": 28,
"b": 140
},
"hsl": {
"h": 260.357,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.35863,
"c": 0.16895,
"h": 290.6
},
"luminance": 0.03882
}Semantic roles & 50–950 ramp
primary
#421C8C
secondary
#95BC48
accent
#EA3EAF
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0410
muted
#7C797F