#421D6F#421D6F
#421D6F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.134 H 299.7°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #421D6F |
|---|---|
| RGB | rgb(66, 29, 111) |
| HSL | hsl(267, 59%, 27%) |
| HSV | hsv(267, 74%, 44%) |
| CMYK | cmyk(40.5%, 73.9%, 0%, 56.5%) |
| CIE-LAB | lab(20.77, 35.55, -40.71) |
| CIE-LCH | lch(20.77, 54.05, 311.12°) |
| OKLab | oklab(33.27% 0.0662 -0.1162) |
| OKLCH | oklch(33.27% 0.134 299.7) |
| XYZ | xyz(5.5547, 3.1846, 15.3579) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.70
Indigo
#4B0082
ΔE00 5.34
Indigo (survey)
#380282
ΔE00 5.96
Midnight Blue
#191970
ΔE00 6.83
Dark Indigo
#1F0954
ΔE00 7.35
Plum Purple
#4E0550
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421D6F #4A6F1D
analogous
#1D216F #421D6F #6B1D6F
triadic
#421D6F #6F421D #1D6F42
tetradic
#421D6F #6F1D21 #4A6F1D #1D6F6B
square
#421D6F #6F1D21 #4A6F1D #1D6F6B
split-complementary
#421D6F #6F6B1D #216F1D
monochromatic
#0E0618 #25103E #421D6F #5F2AA0 #7C3BCC
Accessibility & contrast
On white
12.83
#421D6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#421D6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421D6F
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421D6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421D6F | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#383144
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #421d6f; /* rgb */ color: rgb(66, 29, 111); /* oklch */ color: oklch(33.3% 0.134 299.7);
Tailwind
colors: {
custom: {
50: '#7b5c99',
500: '#421d6f',
950: '#000000',
},
}SCSS
$custom: #421d6f; $custom-light: #7b5c99; $custom-dark: #000000;
JSON
{
"hex": "#421d6f",
"rgb": {
"r": 66,
"g": 29,
"b": 111
},
"hsl": {
"h": 267.073,
"s": 58.571,
"l": 27.451
},
"oklch": {
"l": 0.33273,
"c": 0.13369,
"h": 299.7
},
"luminance": 0.03185
}Semantic roles & 50–950 ramp
primary
#421D6F
secondary
#79A344
accent
#E2469B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E