#471B97#471B97
#471B97 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 290.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #471B97 |
|---|---|
| RGB | rgb(71, 27, 151) |
| HSL | hsl(261, 70%, 35%) |
| HSV | hsv(261, 82%, 59%) |
| CMYK | cmyk(53%, 82.1%, 0%, 40.8%) |
| CIE-LAB | lab(24.82, 48.30, -59.27) |
| CIE-LCH | lch(24.82, 76.46, 309.18°) |
| OKLab | oklab(37.4% 0.0646 -0.1704) |
| OKLCH | oklch(37.4% 0.182 290.8) |
| XYZ | xyz(8.5748, 4.3575, 29.6614) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Indigo
#4B0082
ΔE00 4.76
Indigo (survey)
#380282
ΔE00 4.97
Ultramarine
#2000B1
ΔE00 5.78
Royal
#0C1793
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471B97 #6B971B
analogous
#1B2D97 #471B97 #851B97
triadic
#471B97 #97471B #1B9747
tetradic
#471B97 #971B2D #6B971B #1B9785
square
#471B97 #971B2D #6B971B #1B9785
split-complementary
#471B97 #97851B #2D971B
monochromatic
#16082F #2F1263 #471B97 #5F24CB #814DDF
Accessibility & contrast
On white
11.22
#471B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#471B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471B97
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471B97 | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#2A405A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #471b97; /* rgb */ color: rgb(71, 27, 151); /* oklch */ color: oklch(37.4% 0.182 290.8);
Tailwind
colors: {
custom: {
50: '#845eb7',
500: '#471b97',
950: '#000000',
},
}SCSS
$custom: #471b97; $custom-light: #845eb7; $custom-dark: #000000;
JSON
{
"hex": "#471b97",
"rgb": {
"r": 71,
"g": 27,
"b": 151
},
"hsl": {
"h": 261.29,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.37403,
"c": 0.18222,
"h": 290.8
},
"luminance": 0.04358
}Semantic roles & 50–950 ramp
primary
#471B97
secondary
#98C14C
accent
#EC3BAE
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980