#471A7E#471A7E
#471A7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.155 H 298.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #471A7E |
|---|---|
| RGB | rgb(71, 26, 126) |
| HSL | hsl(267, 66%, 30%) |
| HSV | hsv(267, 79%, 49%) |
| CMYK | cmyk(43.7%, 79.4%, 0%, 50.6%) |
| CIE-LAB | lab(22.25, 42.02, -47.88) |
| CIE-LCH | lch(22.25, 63.71, 311.27°) |
| OKLab | oklab(34.88% 0.0734 -0.137) |
| OKLCH | oklch(34.88% 0.155 298.2) |
| XYZ | xyz(6.7328, 3.5846, 20.0718) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.27
Indigo (survey)
#380282
ΔE00 4.28
Royal Purple (survey)
#4B006E
ΔE00 4.56
Midnight Blue
#191970
ΔE00 7.27
Royal
#0C1793
ΔE00 7.64
Indigo Blue
#3A18B1
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471A7E #517E1A
analogous
#1A1F7E #471A7E #791A7E
triadic
#471A7E #7E471A #1A7E47
tetradic
#471A7E #7E1A1F #517E1A #1A7E79
square
#471A7E #7E1A1F #517E1A #1A7E79
split-complementary
#471A7E #7E791A #1F7E1A
monochromatic
#0E0519 #2A104B #471A7E #6424B1 #813CD7
Accessibility & contrast
On white
12.23
#471A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#471A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471A7E
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471A7E | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#39354B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #471a7e; /* rgb */ color: rgb(71, 26, 126); /* oklch */ color: oklch(34.9% 0.155 298.2);
Tailwind
colors: {
custom: {
50: '#805ca4',
500: '#471a7e',
950: '#000000',
},
}SCSS
$custom: #471a7e; $custom-light: #805ca4; $custom-dark: #000000;
JSON
{
"hex": "#471a7e",
"rgb": {
"r": 71,
"g": 26,
"b": 126
},
"hsl": {
"h": 267,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.34877,
"c": 0.15541,
"h": 298.2
},
"luminance": 0.03585
}Semantic roles & 50–950 ramp
primary
#471A7E
secondary
#80B242
accent
#E93F9C
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F