#471B7E#471B7E
#471B7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.154 H 298.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #471B7E |
|---|---|
| RGB | rgb(71, 27, 126) |
| HSL | hsl(267, 65%, 30%) |
| HSV | hsv(267, 79%, 49%) |
| CMYK | cmyk(43.7%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(22.41, 41.56, -47.62) |
| CIE-LCH | lch(22.41, 63.21, 311.12°) |
| OKLab | oklab(34.99% 0.0725 -0.1362) |
| OKLCH | oklch(34.99% 0.154 298) |
| XYZ | xyz(6.7554, 3.6297, 20.0793) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.46
Indigo (survey)
#380282
ΔE00 4.43
Royal Purple (survey)
#4B006E
ΔE00 4.70
Midnight Blue
#191970
ΔE00 7.25
Royal
#0C1793
ΔE00 7.66
Indigo Blue
#3A18B1
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471B7E #527E1B
analogous
#1B207E #471B7E #791B7E
triadic
#471B7E #7E471B #1B7E47
tetradic
#471B7E #7E1B20 #527E1B #1B7E79
square
#471B7E #7E1B20 #527E1B #1B7E79
split-complementary
#471B7E #7E791B #207E1B
monochromatic
#0E0519 #2B104C #471B7E #6326B0 #813ED6
Accessibility & contrast
On white
12.17
#471B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#471B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471B7E
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471B7E | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#39354B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #471b7e; /* rgb */ color: rgb(71, 27, 126); /* oklch */ color: oklch(35.0% 0.154 298.0);
Tailwind
colors: {
custom: {
50: '#805da4',
500: '#471b7e',
950: '#000000',
},
}SCSS
$custom: #471b7e; $custom-light: #805da4; $custom-dark: #000000;
JSON
{
"hex": "#471b7e",
"rgb": {
"r": 71,
"g": 27,
"b": 126
},
"hsl": {
"h": 266.667,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.34989,
"c": 0.15432,
"h": 298
},
"luminance": 0.0363
}Semantic roles & 50–950 ramp
primary
#471B7E
secondary
#81B243
accent
#E8409D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F