#471F7C#471F7C
#471F7C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.147 H 298.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #471F7C |
|---|---|
| RGB | rgb(71, 31, 124) |
| HSL | hsl(266, 60%, 30%) |
| HSV | hsv(266, 75%, 49%) |
| CMYK | cmyk(42.7%, 75%, 0%, 51.4%) |
| CIE-LAB | lab(22.91, 39.08, -45.53) |
| CIE-LCH | lch(22.91, 60.00, 310.65°) |
| OKLab | oklab(35.29% 0.0691 -0.1301) |
| OKLCH | oklch(35.29% 0.147 298) |
| XYZ | xyz(6.7257, 3.7747, 19.4391) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.35
Royal Purple (survey)
#4B006E
ΔE00 5.17
Indigo (survey)
#380282
ΔE00 5.25
Midnight Blue
#191970
ΔE00 7.24
Rebeccapurple
#663399
ΔE00 7.66
Royal
#0C1793
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F7C #547C1F
analogous
#1F267C #471F7C #751F7C
triadic
#471F7C #7C471F #1F7C47
tetradic
#471F7C #7C1F26 #547C1F #1F7C75
square
#471F7C #7C1F26 #547C1F #1F7C75
split-complementary
#471F7C #7C751F #267C1F
monochromatic
#0F071A #2B134B #471F7C #632BAD #8145D0
Accessibility & contrast
On white
11.97
#471F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#471F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F7C
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F7C | 1.00 | 11.97 | 1.76 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#3A374B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #471f7c; /* rgb */ color: rgb(71, 31, 124); /* oklch */ color: oklch(35.3% 0.147 298.0);
Tailwind
colors: {
custom: {
50: '#805fa3',
500: '#471f7c',
950: '#000000',
},
}SCSS
$custom: #471f7c; $custom-light: #805fa3; $custom-dark: #000000;
JSON
{
"hex": "#471f7c",
"rgb": {
"r": 71,
"g": 31,
"b": 124
},
"hsl": {
"h": 265.806,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.35289,
"c": 0.14734,
"h": 298
},
"luminance": 0.03775
}Semantic roles & 50–950 ramp
primary
#471F7C
secondary
#83AF48
accent
#E3459F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F