#471D8F#471D8F
#471D8F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.171 H 292.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #471D8F |
|---|---|
| RGB | rgb(71, 29, 143) |
| HSL | hsl(262, 66%, 34%) |
| HSV | hsv(262, 80%, 56%) |
| CMYK | cmyk(50.3%, 79.7%, 0%, 43.9%) |
| CIE-LAB | lab(24.33, 45.25, -55.14) |
| CIE-LCH | lch(24.33, 71.33, 309.38°) |
| OKLab | oklab(36.82% 0.0658 -0.1583) |
| OKLCH | oklch(36.82% 0.171 292.6) |
| XYZ | xyz(7.9944, 4.2012, 26.3710) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.29
Indigo (survey)
#380282
ΔE00 4.68
Indigo Blue
#3A18B1
ΔE00 5.18
Royal
#0C1793
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.78
Royal Purple (survey)
#4B006E
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471D8F #658F1D
analogous
#1D2C8F #471D8F #801D8F
triadic
#471D8F #8F471D #1D8F47
tetradic
#471D8F #8F1D2C #658F1D #1D8F80
square
#471D8F #8F1D2C #658F1D #1D8F80
split-complementary
#471D8F #8F801D #2C8F1D
monochromatic
#140829 #2E135C #471D8F #6027C2 #804CDB
Accessibility & contrast
On white
11.41
#471D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#471D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471D8F
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471D8F | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#303D56
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #471d8f; /* rgb */ color: rgb(71, 29, 143); /* oklch */ color: oklch(36.8% 0.171 292.6);
Tailwind
colors: {
custom: {
50: '#825fb1',
500: '#471d8f',
950: '#000000',
},
}SCSS
$custom: #471d8f; $custom-light: #825fb1; $custom-dark: #000000;
JSON
{
"hex": "#471d8f",
"rgb": {
"r": 71,
"g": 29,
"b": 143
},
"hsl": {
"h": 262.105,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.3682,
"c": 0.17144,
"h": 292.6
},
"luminance": 0.04201
}Semantic roles & 50–950 ramp
primary
#471D8F
secondary
#93BD4B
accent
#E93FAA
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980