#471E8E#471E8E
#471E8E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.169 H 292.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #471E8E |
|---|---|
| RGB | rgb(71, 30, 142) |
| HSL | hsl(262, 65%, 34%) |
| HSV | hsv(262, 79%, 56%) |
| CMYK | cmyk(50%, 78.9%, 0%, 44.3%) |
| CIE-LAB | lab(24.39, 44.52, -54.42) |
| CIE-LCH | lch(24.39, 70.31, 309.29°) |
| OKLab | oklab(36.83% 0.0653 -0.1562) |
| OKLCH | oklch(36.83% 0.169 292.7) |
| XYZ | xyz(7.9439, 4.2209, 25.9821) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 4.78
Indigo Blue
#3A18B1
ΔE00 5.35
Royal
#0C1793
ΔE00 6.38
Royal Purple (survey)
#4B006E
ΔE00 6.92
Ultramarine
#2000B1
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471E8E #658E1E
analogous
#1E2D8E #471E8E #7F1E8E
triadic
#471E8E #8E471E #1E8E47
tetradic
#471E8E #8E1E2D #658E1E #1E8E7F
square
#471E8E #8E1E2D #658E1E #1E8E7F
split-complementary
#471E8E #8E7F1E #2D8E1E
monochromatic
#140929 #2E135B #471E8E #6029C1 #804DD9
Accessibility & contrast
On white
11.39
#471E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#471E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471E8E
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471E8E | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#303D55
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #471e8e; /* rgb */ color: rgb(71, 30, 142); /* oklch */ color: oklch(36.8% 0.169 292.7);
Tailwind
colors: {
custom: {
50: '#825fb0',
500: '#471e8e',
950: '#000000',
},
}SCSS
$custom: #471e8e; $custom-light: #825fb0; $custom-dark: #000000;
JSON
{
"hex": "#471e8e",
"rgb": {
"r": 71,
"g": 30,
"b": 142
},
"hsl": {
"h": 261.964,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.36834,
"c": 0.16929,
"h": 292.7
},
"luminance": 0.04221
}Semantic roles & 50–950 ramp
primary
#471E8E
secondary
#93BC4C
accent
#E840AA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980