#471F7F#471F7F
#471F7F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.151 H 297.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #471F7F |
|---|---|
| RGB | rgb(71, 31, 127) |
| HSL | hsl(265, 61%, 31%) |
| HSV | hsv(265, 76%, 50%) |
| CMYK | cmyk(44.1%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(23.18, 39.91, -47.00) |
| CIE-LCH | lch(23.18, 61.66, 310.33°) |
| OKLab | oklab(35.56% 0.0684 -0.1344) |
| OKLCH | oklch(35.56% 0.151 297) |
| XYZ | xyz(6.9183, 3.8517, 20.4535) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 5.05
Royal Purple (survey)
#4B006E
ΔE00 5.42
Midnight Blue
#191970
ΔE00 7.22
Rebeccapurple
#663399
ΔE00 7.47
Royal
#0C1793
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F7F #577F1F
analogous
#1F277F #471F7F #771F7F
triadic
#471F7F #7F471F #1F7F47
tetradic
#471F7F #7F1F27 #577F1F #1F7F77
square
#471F7F #7F1F27 #577F1F #1F7F77
split-complementary
#471F7F #7F771F #277F1F
monochromatic
#10071D #2B134E #471F7F #632BB0 #8146D2
Accessibility & contrast
On white
11.86
#471F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#471F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F7F
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F7F | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#38384D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #471f7f; /* rgb */ color: rgb(71, 31, 127); /* oklch */ color: oklch(35.6% 0.151 297.0);
Tailwind
colors: {
custom: {
50: '#805fa5',
500: '#471f7f',
950: '#000000',
},
}SCSS
$custom: #471f7f; $custom-light: #805fa5; $custom-dark: #000000;
JSON
{
"hex": "#471f7f",
"rgb": {
"r": 71,
"g": 31,
"b": 127
},
"hsl": {
"h": 265,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.35557,
"c": 0.15087,
"h": 297
},
"luminance": 0.03852
}Semantic roles & 50–950 ramp
primary
#471F7F
secondary
#86B248
accent
#E444A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F