#421C6A#421C6A
#421C6A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.129 H 301.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #421C6A |
|---|---|
| RGB | rgb(66, 28, 106) |
| HSL | hsl(269, 58%, 26%) |
| HSV | hsv(269, 74%, 42%) |
| CMYK | cmyk(37.7%, 73.6%, 0%, 58.4%) |
| CIE-LAB | lab(20.16, 34.71, -38.46) |
| CIE-LCH | lch(20.16, 51.80, 312.07°) |
| OKLab | oklab(32.71% 0.0682 -0.1095) |
| OKLCH | oklch(32.71% 0.129 301.9) |
| XYZ | xyz(5.2629, 3.0293, 13.9403) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.58
Indigo
#4B0082
ΔE00 5.86
Indigo (survey)
#380282
ΔE00 6.60
Dark Indigo
#1F0954
ΔE00 7.09
Midnight Blue
#191970
ΔE00 7.31
Plum Purple
#4E0550
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C6A #446A1C
analogous
#1C1D6A #421C6A #691C6A
triadic
#421C6A #6A421C #1C6A42
tetradic
#421C6A #6A1C1D #446A1C #1C6A69
square
#421C6A #6A1C1D #446A1C #1C6A69
split-complementary
#421C6A #6A691C #1D6A1C
monochromatic
#0F0618 #240F3A #421C6A #60299A #7E36CA
Accessibility & contrast
On white
13.08
#421C6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#421C6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C6A
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C6A | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#3A2E41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #421c6a; /* rgb */ color: rgb(66, 28, 106); /* oklch */ color: oklch(32.7% 0.129 301.9);
Tailwind
colors: {
custom: {
50: '#7a5c95',
500: '#421c6a',
950: '#000000',
},
}SCSS
$custom: #421c6a; $custom-light: #7a5c95; $custom-dark: #000000;
JSON
{
"hex": "#421c6a",
"rgb": {
"r": 66,
"g": 28,
"b": 106
},
"hsl": {
"h": 269.231,
"s": 58.209,
"l": 26.275
},
"oklch": {
"l": 0.32709,
"c": 0.12903,
"h": 301.9
},
"luminance": 0.03029
}Semantic roles & 50–950 ramp
primary
#421C6A
secondary
#729F43
accent
#E14696
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E