#471F86#471F86
#471F86 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.159 H 294.8°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #471F86 |
|---|---|
| RGB | rgb(71, 31, 134) |
| HSL | hsl(263, 62%, 32%) |
| HSV | hsv(263, 77%, 53%) |
| CMYK | cmyk(47%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(23.81, 41.84, -50.38) |
| CIE-LCH | lch(23.81, 65.48, 309.71°) |
| OKLab | oklab(36.2% 0.0667 -0.1444) |
| OKLCH | oklch(36.2% 0.159 294.8) |
| XYZ | xyz(7.3904, 4.0406, 22.9402) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 4.81
Royal Purple (survey)
#4B006E
ΔE00 6.12
Indigo Blue
#3A18B1
ΔE00 6.65
Royal
#0C1793
ΔE00 6.96
Rebeccapurple
#663399
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F86 #5E861F
analogous
#1F2B86 #471F86 #7B1F86
triadic
#471F86 #86471F #1F8647
tetradic
#471F86 #861F2B #5E861F #1F867B
square
#471F86 #861F2B #5E861F #1F867B
split-complementary
#471F86 #867B1F #2B861F
monochromatic
#120823 #2D1454 #471F86 #612AB8 #804AD5
Accessibility & contrast
On white
11.61
#471F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#471F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F86
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F86 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#353A51
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #471f86; /* rgb */ color: rgb(71, 31, 134); /* oklch */ color: oklch(36.2% 0.159 294.8);
Tailwind
colors: {
custom: {
50: '#815faa',
500: '#471f86',
950: '#000000',
},
}SCSS
$custom: #471f86; $custom-light: #815faa; $custom-dark: #000000;
JSON
{
"hex": "#471f86",
"rgb": {
"r": 71,
"g": 31,
"b": 134
},
"hsl": {
"h": 263.301,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.36196,
"c": 0.15903,
"h": 294.8
},
"luminance": 0.04041
}Semantic roles & 50–950 ramp
primary
#471F86
secondary
#8DB849
accent
#E542A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F