#421B8E#421B8E
#421B8E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.172 H 290.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #421B8E |
|---|---|
| RGB | rgb(66, 27, 142) |
| HSL | hsl(260, 68%, 33%) |
| HSV | hsv(260, 81%, 56%) |
| CMYK | cmyk(53.5%, 81%, 0%, 44.3%) |
| CIE-LAB | lab(23.32, 45.16, -56.19) |
| CIE-LCH | lch(23.32, 72.09, 308.79°) |
| OKLab | oklab(35.95% 0.0596 -0.1615) |
| OKLCH | oklch(35.95% 0.172 290.3) |
| XYZ | xyz(7.5198, 3.8948, 25.9415) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.05
Indigo
#4B0082
ΔE00 4.24
Indigo Blue
#3A18B1
ΔE00 5.03
Royal
#0C1793
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 6.27
Ultramarine
#2000B1
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421B8E #678E1B
analogous
#1B2D8E #421B8E #7B1B8E
triadic
#421B8E #8E421B #1B8E42
tetradic
#421B8E #8E1B2D #678E1B #1B8E7B
square
#421B8E #8E1B2D #678E1B #1B8E7B
split-complementary
#421B8E #8E7B1B #2D8E1B
monochromatic
#120727 #2A115B #421B8E #5A25C1 #7A47DC
Accessibility & contrast
On white
11.80
#421B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#421B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421B8E
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421B8E | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#263C55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #421b8e; /* rgb */ color: rgb(66, 27, 142); /* oklch */ color: oklch(36.0% 0.172 290.3);
Tailwind
colors: {
custom: {
50: '#7f5db0',
500: '#421b8e',
950: '#000000',
},
}SCSS
$custom: #421b8e; $custom-light: #7f5db0; $custom-dark: #000000;
JSON
{
"hex": "#421b8e",
"rgb": {
"r": 66,
"g": 27,
"b": 142
},
"hsl": {
"h": 260.348,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.35954,
"c": 0.17219,
"h": 290.3
},
"luminance": 0.03895
}Semantic roles & 50–950 ramp
primary
#421B8E
secondary
#95BE47
accent
#EB3DB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980