#471F7B#471F7B
#471F7B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.146 H 298.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #471F7B |
|---|---|
| RGB | rgb(71, 31, 123) |
| HSL | hsl(266, 60%, 30%) |
| HSV | hsv(266, 75%, 48%) |
| CMYK | cmyk(42.3%, 74.8%, 0%, 51.8%) |
| CIE-LAB | lab(22.83, 38.81, -45.03) |
| CIE-LCH | lch(22.83, 59.45, 310.76°) |
| OKLab | oklab(35.2% 0.0694 -0.1287) |
| OKLCH | oklch(35.2% 0.146 298.3) |
| XYZ | xyz(6.6628, 3.7495, 19.1077) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.41
Royal Purple (survey)
#4B006E
ΔE00 5.10
Indigo (survey)
#380282
ΔE00 5.33
Midnight Blue
#191970
ΔE00 7.25
Rebeccapurple
#663399
ΔE00 7.73
Royal
#0C1793
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471F7B #537B1F
analogous
#1F257B #471F7B #751F7B
triadic
#471F7B #7B471F #1F7B47
tetradic
#471F7B #7B1F25 #537B1F #1F7B75
square
#471F7B #7B1F25 #537B1F #1F7B75
split-complementary
#471F7B #7B751F #257B1F
monochromatic
#0F0619 #2B134A #471F7B #632BAC #8144D0
Accessibility & contrast
On white
12.00
#471F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#471F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471F7B
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471F7B | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#3A364B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #471f7b; /* rgb */ color: rgb(71, 31, 123); /* oklch */ color: oklch(35.2% 0.146 298.3);
Tailwind
colors: {
custom: {
50: '#7f5fa2',
500: '#471f7b',
950: '#000000',
},
}SCSS
$custom: #471f7b; $custom-light: #7f5fa2; $custom-dark: #000000;
JSON
{
"hex": "#471f7b",
"rgb": {
"r": 71,
"g": 31,
"b": 123
},
"hsl": {
"h": 266.087,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.35201,
"c": 0.14617,
"h": 298.3
},
"luminance": 0.0375
}Semantic roles & 50–950 ramp
primary
#471F7B
secondary
#82AE48
accent
#E3459E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F