#421C7F#421C7F
#421C7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.154 H 294.3°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #421C7F |
|---|---|
| RGB | rgb(66, 28, 127) |
| HSL | hsl(263, 64%, 30%) |
| HSV | hsv(263, 78%, 50%) |
| CMYK | cmyk(48%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(22.02, 40.50, -48.91) |
| CIE-LCH | lch(22.02, 63.51, 309.63°) |
| OKLab | oklab(34.6% 0.0634 -0.1402) |
| OKLCH | oklch(34.6% 0.154 294.3) |
| XYZ | xyz(6.4917, 3.5209, 20.4121) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.92
Indigo (survey)
#380282
ΔE00 4.12
Royal Purple (survey)
#4B006E
ΔE00 5.40
Midnight Blue
#191970
ΔE00 6.35
Royal
#0C1793
ΔE00 6.73
Indigo Blue
#3A18B1
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C7F #597F1C
analogous
#1C287F #421C7F #731C7F
triadic
#421C7F #7F421C #1C7F42
tetradic
#421C7F #7F1C28 #597F1C #1C7F73
square
#421C7F #7F1C28 #597F1C #1C7F73
split-complementary
#421C7F #7F731C #287F1C
monochromatic
#0E061B #28114D #421C7F #5C27B1 #7940D5
Accessibility & contrast
On white
12.32
#421C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#421C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C7F
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C7F | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#30374C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #421c7f; /* rgb */ color: rgb(66, 28, 127); /* oklch */ color: oklch(34.6% 0.154 294.3);
Tailwind
colors: {
custom: {
50: '#7d5da5',
500: '#421c7f',
950: '#000000',
},
}SCSS
$custom: #421c7f; $custom-light: #7d5da5; $custom-dark: #000000;
JSON
{
"hex": "#421c7f",
"rgb": {
"r": 66,
"g": 28,
"b": 127
},
"hsl": {
"h": 263.03,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.34601,
"c": 0.15389,
"h": 294.3
},
"luminance": 0.03521
}Semantic roles & 50–950 ramp
primary
#421C7F
secondary
#88B344
accent
#E741A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F