#471F8D#471F8D
#471F8D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.167 H 292.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #471F8D |
|---|---|
| RGB | rgb(71, 31, 141) |
| HSL | hsl(262, 64%, 34%) |
| HSV | hsv(262, 78%, 55%) |
| CMYK | cmyk(49.6%, 78%, 0%, 44.7%) |
| CIE-LAB | lab(24.46, 43.77, -53.68) |
| CIE-LCH | lch(24.46, 69.27, 309.20°) |
| OKLab | oklab(36.85% 0.0648 -0.1541) |
| OKLCH | oklch(36.85% 0.167 292.8) |
| XYZ | xyz(7.8949, 4.2424, 25.5970) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.49
Indigo (survey)
#380282
ΔE00 4.91
Indigo Blue
#3A18B1
ΔE00 5.54
Royal
#0C1793
ΔE00 6.47
Royal Purple (survey)
#4B006E
ΔE00 6.92
Rebeccapurple
#663399
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F8D #658D1F
analogous
#1F2E8D #471F8D #7E1F8D
triadic
#471F8D #8D471F #1F8D47
tetradic
#471F8D #8D1F2E #658D1F #1F8D7E
square
#471F8D #8D1F2E #658D1F #1F8D7E
split-complementary
#471F8D #8D7E1F #2E8D1F
monochromatic
#140929 #2E145B #471F8D #602ABF #804ED8
Accessibility & contrast
On white
11.36
#471F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#471F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F8D
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F8D | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#313D55
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #471f8d; /* rgb */ color: rgb(71, 31, 141); /* oklch */ color: oklch(36.9% 0.167 292.8);
Tailwind
colors: {
custom: {
50: '#825faf',
500: '#471f8d',
950: '#000000',
},
}SCSS
$custom: #471f8d; $custom-light: #825faf; $custom-dark: #000000;
JSON
{
"hex": "#471f8d",
"rgb": {
"r": 71,
"g": 31,
"b": 141
},
"hsl": {
"h": 261.818,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.36853,
"c": 0.16712,
"h": 292.8
},
"luminance": 0.04243
}Semantic roles & 50–950 ramp
primary
#471F8D
secondary
#93BB4D
accent
#E741AB
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F