#471A8B#471A8B
#471A8B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.170 H 294.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #471A8B |
|---|---|
| RGB | rgb(71, 26, 139) |
| HSL | hsl(264, 68%, 32%) |
| HSV | hsv(264, 81%, 55%) |
| CMYK | cmyk(48.9%, 81.3%, 0%, 45.5%) |
| CIE-LAB | lab(23.48, 45.49, -54.04) |
| CIE-LCH | lch(23.48, 70.64, 310.09°) |
| OKLab | oklab(36.11% 0.0694 -0.1551) |
| OKLCH | oklch(36.11% 0.17 294.1) |
| XYZ | xyz(7.6268, 3.9422, 24.7802) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.53
Indigo (survey)
#380282
ΔE00 4.08
Indigo Blue
#3A18B1
ΔE00 5.76
Royal Purple (survey)
#4B006E
ΔE00 6.13
Royal
#0C1793
ΔE00 6.46
Ultramarine
#2000B1
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471A8B #5E8B1A
analogous
#1A258B #471A8B #801A8B
triadic
#471A8B #8B471A #1A8B47
tetradic
#471A8B #8B1A25 #5E8B1A #1A8B80
square
#471A8B #8B1A25 #5E8B1A #1A8B80
split-complementary
#471A8B #8B801A #258B1A
monochromatic
#120724 #2D1057 #471A8B #6124BF #8043DC
Accessibility & contrast
On white
11.74
#471A8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#471A8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471A8B
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471A8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471A8B | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#323A53
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #471a8b; /* rgb */ color: rgb(71, 26, 139); /* oklch */ color: oklch(36.1% 0.170 294.1);
Tailwind
colors: {
custom: {
50: '#825dae',
500: '#471a8b',
950: '#000000',
},
}SCSS
$custom: #471a8b; $custom-light: #825dae; $custom-dark: #000000;
JSON
{
"hex": "#471a8b",
"rgb": {
"r": 71,
"g": 26,
"b": 139
},
"hsl": {
"h": 263.894,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.36113,
"c": 0.16987,
"h": 294.1
},
"luminance": 0.03942
}Semantic roles & 50–950 ramp
primary
#471A8B
secondary
#8DBD44
accent
#EB3CA6
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F