#471C7D#471C7D
#471C7D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.152 H 298.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #471C7D |
|---|---|
| RGB | rgb(71, 28, 125) |
| HSL | hsl(267, 63%, 30%) |
| HSV | hsv(267, 78%, 49%) |
| CMYK | cmyk(43.2%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(22.48, 40.83, -46.86) |
| CIE-LCH | lch(22.48, 62.15, 311.06°) |
| OKLab | oklab(35.01% 0.0718 -0.134) |
| OKLCH | oklch(35.01% 0.152 298.2) |
| XYZ | xyz(6.7145, 3.6507, 19.7489) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.69
Indigo (survey)
#380282
ΔE00 4.66
Royal Purple (survey)
#4B006E
ΔE00 4.75
Midnight Blue
#191970
ΔE00 7.24
Royal
#0C1793
ΔE00 7.80
Rebeccapurple
#663399
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471C7D #527D1C
analogous
#1C217D #471C7D #781C7D
triadic
#471C7D #7D471C #1C7D47
tetradic
#471C7D #7D1C21 #527D1C #1C7D78
square
#471C7D #7D1C21 #527D1C #1C7D78
split-complementary
#471C7D #7D781C #217D1C
monochromatic
#0E0619 #2B114B #471C7D #6327AF #813FD4
Accessibility & contrast
On white
12.14
#471C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#471C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471C7D
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471C7D | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#39354B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #471c7d; /* rgb */ color: rgb(71, 28, 125); /* oklch */ color: oklch(35.0% 0.152 298.2);
Tailwind
colors: {
custom: {
50: '#805da3',
500: '#471c7d',
950: '#000000',
},
}SCSS
$custom: #471c7d; $custom-light: #805da3; $custom-dark: #000000;
JSON
{
"hex": "#471c7d",
"rgb": {
"r": 71,
"g": 28,
"b": 125
},
"hsl": {
"h": 266.598,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.35013,
"c": 0.15207,
"h": 298.2
},
"luminance": 0.03651
}Semantic roles & 50–950 ramp
primary
#471C7D
secondary
#81B144
accent
#E6419D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F