#471F8E#471F8E
#471F8E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.168 H 292.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #471F8E |
|---|---|
| RGB | rgb(71, 31, 142) |
| HSL | hsl(262, 64%, 34%) |
| HSV | hsv(262, 78%, 56%) |
| CMYK | cmyk(50%, 78.2%, 0%, 44.3%) |
| CIE-LAB | lab(24.55, 44.05, -54.15) |
| CIE-LCH | lch(24.55, 69.80, 309.13°) |
| OKLab | oklab(36.95% 0.0645 -0.1554) |
| OKLCH | oklch(36.95% 0.168 292.5) |
| XYZ | xyz(7.9696, 4.2723, 25.9907) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.55
Indigo (survey)
#380282
ΔE00 4.94
Indigo Blue
#3A18B1
ΔE00 5.38
Royal
#0C1793
ΔE00 6.42
Rebeccapurple
#663399
ΔE00 6.95
Royal Purple (survey)
#4B006E
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F8E #668E1F
analogous
#1F2E8E #471F8E #7F1F8E
triadic
#471F8E #8E471F #1F8E47
tetradic
#471F8E #8E1F2E #668E1F #1F8E7F
square
#471F8E #8E1F2E #668E1F #1F8E7F
split-complementary
#471F8E #8E7F1F #2E8E1F
monochromatic
#15092A #2E145C #471F8E #602AC0 #804FD9
Accessibility & contrast
On white
11.32
#471F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#471F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F8E
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F8E | 1.00 | 11.32 | 1.85 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#303E56
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #471f8e; /* rgb */ color: rgb(71, 31, 142); /* oklch */ color: oklch(36.9% 0.168 292.5);
Tailwind
colors: {
custom: {
50: '#8260b0',
500: '#471f8e',
950: '#000000',
},
}SCSS
$custom: #471f8e; $custom-light: #8260b0; $custom-dark: #000000;
JSON
{
"hex": "#471f8e",
"rgb": {
"r": 71,
"g": 31,
"b": 142
},
"hsl": {
"h": 261.622,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.36948,
"c": 0.16827,
"h": 292.5
},
"luminance": 0.04273
}Semantic roles & 50–950 ramp
primary
#471F8E
secondary
#94BB4D
accent
#E741AB
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980