#471C8B#471C8B
#471C8B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.168 H 293.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #471C8B |
|---|---|
| RGB | rgb(71, 28, 139) |
| HSL | hsl(263, 66%, 33%) |
| HSV | hsv(263, 80%, 55%) |
| CMYK | cmyk(48.9%, 79.9%, 0%, 45.5%) |
| CIE-LAB | lab(23.78, 44.61, -53.54) |
| CIE-LCH | lch(23.78, 69.69, 309.80°) |
| OKLab | oklab(36.32% 0.0678 -0.1536) |
| OKLCH | oklch(36.32% 0.168 293.8) |
| XYZ | xyz(7.6727, 4.0339, 24.7955) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.85
Indigo (survey)
#380282
ΔE00 4.37
Indigo Blue
#3A18B1
ΔE00 5.78
Royal Purple (survey)
#4B006E
ΔE00 6.33
Royal
#0C1793
ΔE00 6.50
Ultramarine
#2000B1
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471C8B #608B1C
analogous
#1C298B #471C8B #7E1C8B
triadic
#471C8B #8B471C #1C8B47
tetradic
#471C8B #8B1C29 #608B1C #1C8B7E
square
#471C8B #8B1C29 #608B1C #1C8B7E
split-complementary
#471C8B #8B7E1C #298B1C
monochromatic
#130725 #2D1258 #471C8B #6126BE #8047DA
Accessibility & contrast
On white
11.62
#471C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#471C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471C8B
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471C8B | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#323B53
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #471c8b; /* rgb */ color: rgb(71, 28, 139); /* oklch */ color: oklch(36.3% 0.168 293.8);
Tailwind
colors: {
custom: {
50: '#825eae',
500: '#471c8b',
950: '#000000',
},
}SCSS
$custom: #471c8b; $custom-light: #825eae; $custom-dark: #000000;
JSON
{
"hex": "#471c8b",
"rgb": {
"r": 71,
"g": 28,
"b": 139
},
"hsl": {
"h": 263.243,
"s": 66.467,
"l": 32.745
},
"oklch": {
"l": 0.36324,
"c": 0.16792,
"h": 293.8
},
"luminance": 0.04034
}Semantic roles & 50–950 ramp
primary
#471C8B
secondary
#8FBC47
accent
#E93EA7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F