#471F8B#471F8B
#471F8B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.165 H 293.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #471F8B |
|---|---|
| RGB | rgb(71, 31, 139) |
| HSL | hsl(262, 64%, 33%) |
| HSV | hsv(262, 78%, 55%) |
| CMYK | cmyk(48.9%, 77.7%, 0%, 45.5%) |
| CIE-LAB | lab(24.27, 43.22, -52.75) |
| CIE-LCH | lch(24.27, 68.19, 309.33°) |
| OKLab | oklab(36.66% 0.0653 -0.1513) |
| OKLCH | oklch(36.66% 0.165 293.3) |
| XYZ | xyz(7.7474, 4.1834, 24.8204) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 4.85
Indigo Blue
#3A18B1
ΔE00 5.85
Royal
#0C1793
ΔE00 6.59
Royal Purple (survey)
#4B006E
ΔE00 6.68
Rebeccapurple
#663399
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F8B #638B1F
analogous
#1F2D8B #471F8B #7D1F8B
triadic
#471F8B #8B471F #1F8B47
tetradic
#471F8B #8B1F2D #638B1F #1F8B7D
square
#471F8B #8B1F2D #638B1F #1F8B7D
split-complementary
#471F8B #8B7D1F #2D8B1F
monochromatic
#140927 #2D1459 #471F8B #612ABD #804DD7
Accessibility & contrast
On white
11.43
#471F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#471F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F8B
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F8B | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#323C54
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #471f8b; /* rgb */ color: rgb(71, 31, 139); /* oklch */ color: oklch(36.7% 0.165 293.3);
Tailwind
colors: {
custom: {
50: '#825fae',
500: '#471f8b',
950: '#000000',
},
}SCSS
$custom: #471f8b; $custom-light: #825fae; $custom-dark: #000000;
JSON
{
"hex": "#471f8b",
"rgb": {
"r": 71,
"g": 31,
"b": 139
},
"hsl": {
"h": 262.222,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.36663,
"c": 0.16481,
"h": 293.3
},
"luminance": 0.04184
}Semantic roles & 50–950 ramp
primary
#471F8B
secondary
#91BA4C
accent
#E741A9
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F