#471C7A#471C7A
#471C7A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.149 H 299.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #471C7A |
|---|---|
| RGB | rgb(71, 28, 122) |
| HSL | hsl(267, 63%, 29%) |
| HSV | hsv(267, 77%, 48%) |
| CMYK | cmyk(41.8%, 77%, 0%, 52.2%) |
| CIE-LAB | lab(22.21, 40.02, -45.39) |
| CIE-LCH | lch(22.21, 60.52, 311.40°) |
| OKLab | oklab(34.74% 0.0726 -0.1297) |
| OKLCH | oklch(34.74% 0.149 299.2) |
| XYZ | xyz(6.5258, 3.5752, 18.7548) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.87
Royal Purple (survey)
#4B006E
ΔE00 4.49
Indigo (survey)
#380282
ΔE00 4.91
Midnight Blue
#191970
ΔE00 7.29
Rebeccapurple
#663399
ΔE00 8.09
Royal
#0C1793
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471C7A #4F7A1C
analogous
#1C207A #471C7A #761C7A
triadic
#471C7A #7A471C #1C7A47
tetradic
#471C7A #7A1C20 #4F7A1C #1C7A76
square
#471C7A #7A1C20 #4F7A1C #1C7A76
split-complementary
#471C7A #7A761C #207A1C
monochromatic
#0E0619 #2A1148 #471C7A #6427AC #823ED3
Accessibility & contrast
On white
12.24
#471C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#471C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471C7A
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471C7A | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#3B3449
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #471c7a; /* rgb */ color: rgb(71, 28, 122); /* oklch */ color: oklch(34.7% 0.149 299.2);
Tailwind
colors: {
custom: {
50: '#805da1',
500: '#471c7a',
950: '#000000',
},
}SCSS
$custom: #471c7a; $custom-light: #805da1; $custom-dark: #000000;
JSON
{
"hex": "#471c7a",
"rgb": {
"r": 71,
"g": 28,
"b": 122
},
"hsl": {
"h": 267.447,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.34742,
"c": 0.14864,
"h": 299.2
},
"luminance": 0.03575
}Semantic roles & 50–950 ramp
primary
#471C7A
secondary
#7DAE44
accent
#E6429B
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F