#471C7C#471C7C
#471C7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.151 H 298.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #471C7C |
|---|---|
| RGB | rgb(71, 28, 124) |
| HSL | hsl(267, 63%, 30%) |
| HSV | hsv(267, 77%, 49%) |
| CMYK | cmyk(42.7%, 77.4%, 0%, 51.4%) |
| CIE-LAB | lab(22.39, 40.56, -46.38) |
| CIE-LCH | lch(22.39, 61.61, 311.17°) |
| OKLab | oklab(34.92% 0.0721 -0.1326) |
| OKLCH | oklch(34.92% 0.151 298.5) |
| XYZ | xyz(6.6509, 3.6252, 19.4142) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.74
Royal Purple (survey)
#4B006E
ΔE00 4.66
Indigo (survey)
#380282
ΔE00 4.74
Midnight Blue
#191970
ΔE00 7.25
Royal
#0C1793
ΔE00 7.92
Rebeccapurple
#663399
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471C7C #517C1C
analogous
#1C217C #471C7C #771C7C
triadic
#471C7C #7C471C #1C7C47
tetradic
#471C7C #7C1C21 #517C1C #1C7C77
square
#471C7C #7C1C21 #517C1C #1C7C77
split-complementary
#471C7C #7C771C #217C1C
monochromatic
#0E0619 #2A114A #471C7C #6427AE #813FD4
Accessibility & contrast
On white
12.17
#471C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#471C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471C7C
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471C7C | 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)
#00367F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3A354B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #471c7c; /* rgb */ color: rgb(71, 28, 124); /* oklch */ color: oklch(34.9% 0.151 298.5);
Tailwind
colors: {
custom: {
50: '#805da3',
500: '#471c7c',
950: '#000000',
},
}SCSS
$custom: #471c7c; $custom-light: #805da3; $custom-dark: #000000;
JSON
{
"hex": "#471c7c",
"rgb": {
"r": 71,
"g": 28,
"b": 124
},
"hsl": {
"h": 266.875,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.34922,
"c": 0.15092,
"h": 298.5
},
"luminance": 0.03625
}Semantic roles & 50–950 ramp
primary
#471C7C
secondary
#80B044
accent
#E6429C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F