#421F6C#421F6C
#421F6C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.127 H 300.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #421F6C |
|---|---|
| RGB | rgb(66, 31, 108) |
| HSL | hsl(267, 55%, 27%) |
| HSV | hsv(267, 71%, 42%) |
| CMYK | cmyk(38.9%, 71.3%, 0%, 57.6%) |
| CIE-LAB | lab(20.91, 33.64, -38.54) |
| CIE-LCH | lch(20.91, 51.16, 311.11°) |
| OKLab | oklab(33.29% 0.0644 -0.1098) |
| OKLCH | oklch(33.29% 0.127 300.4) |
| XYZ | xyz(5.4429, 3.2209, 14.5194) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.20
Indigo
#4B0082
ΔE00 6.14
Indigo (survey)
#380282
ΔE00 6.79
Midnight Blue
#191970
ΔE00 7.14
Dark Indigo
#1F0954
ΔE00 7.43
Plum Purple
#4E0550
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F6C #496C1F
analogous
#1F226C #421F6C #691F6C
triadic
#421F6C #6C421F #1F6C42
tetradic
#421F6C #6C1F22 #496C1F #1F6C69
square
#421F6C #6C1F22 #496C1F #1F6C69
split-complementary
#421F6C #6C691F #226C1F
monochromatic
#0F0718 #25113C #421F6C #5F2D9C #7C3EC8
Accessibility & contrast
On white
12.77
#421F6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#421F6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F6C
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F6C | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#393143
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #421f6c; /* rgb */ color: rgb(66, 31, 108); /* oklch */ color: oklch(33.3% 0.127 300.4);
Tailwind
colors: {
custom: {
50: '#7a5d97',
500: '#421f6c',
950: '#000000',
},
}SCSS
$custom: #421f6c; $custom-light: #7a5d97; $custom-dark: #000000;
JSON
{
"hex": "#421f6c",
"rgb": {
"r": 66,
"g": 31,
"b": 108
},
"hsl": {
"h": 267.273,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.33294,
"c": 0.12729,
"h": 300.4
},
"luminance": 0.03221
}Semantic roles & 50–950 ramp
primary
#421F6C
secondary
#77A047
accent
#DF499B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E