#471F8F#471F8F
#471F8F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.169 H 292.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #471F8F |
|---|---|
| RGB | rgb(71, 31, 143) |
| HSL | hsl(261, 64%, 34%) |
| HSV | hsv(261, 78%, 56%) |
| CMYK | cmyk(50.3%, 78.3%, 0%, 43.9%) |
| CIE-LAB | lab(24.65, 44.33, -54.61) |
| CIE-LCH | lch(24.65, 70.34, 309.07°) |
| OKLab | oklab(37.04% 0.0642 -0.1568) |
| OKLCH | oklch(37.04% 0.169 292.3) |
| XYZ | xyz(8.0451, 4.3024, 26.3878) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.62
Indigo (survey)
#380282
ΔE00 4.99
Indigo Blue
#3A18B1
ΔE00 5.23
Royal
#0C1793
ΔE00 6.37
Rebeccapurple
#663399
ΔE00 6.94
Ultramarine
#2000B1
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F8F #678F1F
analogous
#1F2F8F #471F8F #7F1F8F
triadic
#471F8F #8F471F #1F8F47
tetradic
#471F8F #8F1F2F #678F1F #1F8F7F
square
#471F8F #8F1F2F #678F1F #1F8F7F
split-complementary
#471F8F #8F7F1F #2F8F1F
monochromatic
#15092A #2E145D #471F8F #602AC1 #814FD9
Accessibility & contrast
On white
11.29
#471F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#471F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F8F
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F8F | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#2F3E56
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #471f8f; /* rgb */ color: rgb(71, 31, 143); /* oklch */ color: oklch(37.0% 0.169 292.3);
Tailwind
colors: {
custom: {
50: '#8260b1',
500: '#471f8f',
950: '#000000',
},
}SCSS
$custom: #471f8f; $custom-light: #8260b1; $custom-dark: #000000;
JSON
{
"hex": "#471f8f",
"rgb": {
"r": 71,
"g": 31,
"b": 143
},
"hsl": {
"h": 261.429,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.37044,
"c": 0.16942,
"h": 292.3
},
"luminance": 0.04303
}Semantic roles & 50–950 ramp
primary
#471F8F
secondary
#95BC4E
accent
#E740AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980