#471E6D#471E6D
#471E6D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.131 H 303.9°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #471E6D |
|---|---|
| RGB | rgb(71, 30, 109) |
| HSL | hsl(271, 57%, 27%) |
| HSV | hsv(271, 72%, 43%) |
| CMYK | cmyk(34.9%, 72.5%, 0%, 57.3%) |
| CIE-LAB | lab(21.48, 35.56, -38.24) |
| CIE-LCH | lch(21.48, 52.22, 312.92°) |
| OKLab | oklab(33.88% 0.0731 -0.1087) |
| OKLCH | oklch(33.88% 0.131 303.9) |
| XYZ | xyz(5.8225, 3.3723, 14.8092) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.56
Indigo
#4B0082
ΔE00 5.75
Indigo (survey)
#380282
ΔE00 6.91
Plum Purple
#4E0550
ΔE00 7.87
Midnight Blue
#191970
ΔE00 8.10
Dark Indigo
#1F0954
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471E6D #446D1E
analogous
#1F1E6D #471E6D #6D1E6C
triadic
#471E6D #6D471E #1E6D47
tetradic
#471E6D #6D1F1E #446D1E #1E6C6D
square
#471E6D #6D1F1E #446D1E #1E6C6D
split-complementary
#471E6D #6C6D1E #1E6D1F
monochromatic
#100718 #28113D #471E6D #662B9D #853CC9
Accessibility & contrast
On white
12.54
#471E6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#471E6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471E6D
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471E6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471E6D | 1.00 | 12.54 | 1.67 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#403043
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #471e6d; /* rgb */ color: rgb(71, 30, 109); /* oklch */ color: oklch(33.9% 0.131 303.9);
Tailwind
colors: {
custom: {
50: '#7e5d97',
500: '#471e6d',
950: '#000000',
},
}SCSS
$custom: #471e6d; $custom-light: #7e5d97; $custom-dark: #000000;
JSON
{
"hex": "#471e6d",
"rgb": {
"r": 71,
"g": 30,
"b": 109
},
"hsl": {
"h": 271.139,
"s": 56.835,
"l": 27.255
},
"oklch": {
"l": 0.33877,
"c": 0.13098,
"h": 303.9
},
"luminance": 0.03372
}Semantic roles & 50–950 ramp
primary
#471E6D
secondary
#72A145
accent
#E04891
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E