#471A7F#471A7F
#471A7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.157 H 297.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #471A7F |
|---|---|
| RGB | rgb(71, 26, 127) |
| HSL | hsl(267, 66%, 30%) |
| HSV | hsv(267, 80%, 50%) |
| CMYK | cmyk(44.1%, 79.5%, 0%, 50.2%) |
| CIE-LAB | lab(22.34, 42.29, -48.36) |
| CIE-LCH | lch(22.34, 64.24, 311.16°) |
| OKLab | oklab(34.97% 0.0731 -0.1384) |
| OKLCH | oklch(34.97% 0.157 297.8) |
| XYZ | xyz(6.7977, 3.6106, 20.4133) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.24
Indigo (survey)
#380282
ΔE00 4.22
Royal Purple (survey)
#4B006E
ΔE00 4.66
Midnight Blue
#191970
ΔE00 7.27
Royal
#0C1793
ΔE00 7.52
Indigo Blue
#3A18B1
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471A7F #527F1A
analogous
#1A1F7F #471A7F #7A1A7F
triadic
#471A7F #7F471A #1A7F47
tetradic
#471A7F #7F1A1F #527F1A #1A7F7A
square
#471A7F #7F1A1F #527F1A #1A7F7A
split-complementary
#471A7F #7F7A1A #1F7F1A
monochromatic
#0E0519 #2B104C #471A7F #6324B2 #813CD7
Accessibility & contrast
On white
12.19
#471A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#471A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471A7F
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471A7F | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#39354C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #471a7f; /* rgb */ color: rgb(71, 26, 127); /* oklch */ color: oklch(35.0% 0.157 297.8);
Tailwind
colors: {
custom: {
50: '#805ca5',
500: '#471a7f',
950: '#000000',
},
}SCSS
$custom: #471a7f; $custom-light: #805ca5; $custom-dark: #000000;
JSON
{
"hex": "#471a7f",
"rgb": {
"r": 71,
"g": 26,
"b": 127
},
"hsl": {
"h": 266.733,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.3497,
"c": 0.15653,
"h": 297.8
},
"luminance": 0.03611
}Semantic roles & 50–950 ramp
primary
#471A7F
secondary
#81B342
accent
#E93F9D
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F