#471F76#471F76
#471F76 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.140 H 300.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #471F76 |
|---|---|
| RGB | rgb(71, 31, 118) |
| HSL | hsl(268, 58%, 29%) |
| HSV | hsv(268, 74%, 46%) |
| CMYK | cmyk(39.8%, 73.7%, 0%, 53.7%) |
| CIE-LAB | lab(22.40, 37.45, -42.54) |
| CIE-LCH | lch(22.40, 56.67, 311.36°) |
| OKLab | oklab(34.77% 0.0704 -0.1213) |
| OKLCH | oklch(34.77% 0.14 300.1) |
| XYZ | xyz(6.3577, 3.6275, 17.5013) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.81
Royal Purple (survey)
#4B006E
ΔE00 4.82
Indigo (survey)
#380282
ΔE00 5.83
Midnight Blue
#191970
ΔE00 7.43
Rebeccapurple
#663399
ΔE00 8.14
Dark Indigo
#1F0954
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F76 #4E761F
analogous
#1F2376 #471F76 #731F76
triadic
#471F76 #76471F #1F7647
tetradic
#471F76 #761F23 #4E761F #1F7673
square
#471F76 #761F23 #4E761F #1F7673
split-complementary
#471F76 #76731F #23761F
monochromatic
#0F0618 #2A1246 #471F76 #642CA6 #8242CD
Accessibility & contrast
On white
12.17
#471F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#471F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F76
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F76 | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#3C3448
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #471f76; /* rgb */ color: rgb(71, 31, 118); /* oklch */ color: oklch(34.8% 0.140 300.1);
Tailwind
colors: {
custom: {
50: '#7f5e9e',
500: '#471f76',
950: '#000000',
},
}SCSS
$custom: #471f76; $custom-light: #7f5e9e; $custom-dark: #000000;
JSON
{
"hex": "#471f76",
"rgb": {
"r": 71,
"g": 31,
"b": 118
},
"hsl": {
"h": 267.586,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.34766,
"c": 0.14027,
"h": 300.1
},
"luminance": 0.03628
}Semantic roles & 50–950 ramp
primary
#471F76
secondary
#7CAA47
accent
#E2469A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A050E
muted
#7C797E