#471C7F#471C7F
#471C7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.154 H 297.5°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).
Color values
| HEX | #471C7F |
|---|---|
| RGB | rgb(71, 28, 127) |
| HSL | hsl(266, 64%, 30%) |
| HSV | hsv(266, 78%, 50%) |
| CMYK | cmyk(44.1%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(22.66, 41.37, -47.84) |
| CIE-LCH | lch(22.66, 63.24, 310.85°) |
| OKLab | oklab(35.2% 0.0713 -0.1369) |
| OKLCH | oklch(35.2% 0.154 297.5) |
| XYZ | xyz(6.8436, 3.7023, 20.4286) |
| Luminance | 0.0370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.61
Indigo (survey)
#380282
ΔE00 4.53
Royal Purple (survey)
#4B006E
ΔE00 4.94
Midnight Blue
#191970
ΔE00 7.24
Royal
#0C1793
ΔE00 7.56
Indigo Blue
#3A18B1
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471C7F #547F1C
analogous
#1C227F #471C7F #791C7F
triadic
#471C7F #7F471C #1C7F47
tetradic
#471C7F #7F1C22 #547F1C #1C7F79
square
#471C7F #7F1C22 #547F1C #1C7F79
split-complementary
#471C7F #7F791C #227F1C
monochromatic
#0F061B #2B114D #471C7F #6327B1 #8140D5
Accessibility & contrast
On white
12.07
#471C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#471C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471C7F
12.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471C7F | 1.00 | 12.07 | 1.74 | 12.07 |
| #FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#39364C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #471c7f; /* rgb */ color: rgb(71, 28, 127); /* oklch */ color: oklch(35.2% 0.154 297.5);
Tailwind
colors: {
custom: {
50: '#805da5',
500: '#471c7f',
950: '#000000',
},
}SCSS
$custom: #471c7f; $custom-light: #805da5; $custom-dark: #000000;
JSON
{
"hex": "#471c7f",
"rgb": {
"r": 71,
"g": 28,
"b": 127
},
"hsl": {
"h": 266.061,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.35195,
"c": 0.15434,
"h": 297.5
},
"luminance": 0.03702
}Semantic roles & 50–950 ramp
primary
#471C7F
secondary
#83B344
accent
#E7419F
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F