#421F6F#421F6F
#421F6F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.131 H 299.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #421F6F |
|---|---|
| RGB | rgb(66, 31, 111) |
| HSL | hsl(266, 56%, 28%) |
| HSV | hsv(266, 72%, 44%) |
| CMYK | cmyk(40.5%, 72.1%, 0%, 56.5%) |
| CIE-LAB | lab(21.15, 34.47, -40.09) |
| CIE-LCH | lch(21.15, 52.87, 310.69°) |
| OKLab | oklab(33.55% 0.064 -0.1143) |
| OKLCH | oklch(33.55% 0.131 299.2) |
| XYZ | xyz(5.6053, 3.2859, 15.3748) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.15
Indigo
#4B0082
ΔE00 5.74
Indigo (survey)
#380282
ΔE00 6.33
Midnight Blue
#191970
ΔE00 6.85
Dark Indigo
#1F0954
ΔE00 7.54
Darkslateblue
#483D8B
ΔE00 8.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F6F #4C6F1F
analogous
#1F246F #421F6F #6A1F6F
triadic
#421F6F #6F421F #1F6F42
tetradic
#421F6F #6F1F24 #4C6F1F #1F6F6A
square
#421F6F #6F1F24 #4C6F1F #1F6F6A
split-complementary
#421F6F #6F6A1F #246F1F
monochromatic
#0E0718 #26123F #421F6F #5E2C9F #7C3FC9
Accessibility & contrast
On white
12.67
#421F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#421F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F6F
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F6F | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#383244
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #421f6f; /* rgb */ color: rgb(66, 31, 111); /* oklch */ color: oklch(33.5% 0.131 299.2);
Tailwind
colors: {
custom: {
50: '#7b5d99',
500: '#421f6f',
950: '#000000',
},
}SCSS
$custom: #421f6f; $custom-light: #7b5d99; $custom-dark: #000000;
JSON
{
"hex": "#421f6f",
"rgb": {
"r": 66,
"g": 31,
"b": 111
},
"hsl": {
"h": 266.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.33548,
"c": 0.131,
"h": 299.2
},
"luminance": 0.03286
}Semantic roles & 50–950 ramp
primary
#421F6F
secondary
#7BA347
accent
#E0489D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E