#471B7A#471B7A
#471B7A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.150 H 299.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #471B7A |
|---|---|
| RGB | rgb(71, 27, 122) |
| HSL | hsl(268, 64%, 29%) |
| HSV | hsv(268, 78%, 48%) |
| CMYK | cmyk(41.8%, 77.9%, 0%, 52.2%) |
| CIE-LAB | lab(22.05, 40.50, -45.67) |
| CIE-LCH | lch(22.05, 61.04, 311.57°) |
| OKLab | oklab(34.62% 0.0736 -0.1305) |
| OKLCH | oklch(34.62% 0.15 299.4) |
| XYZ | xyz(6.5024, 3.5285, 18.7471) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.68
Royal Purple (survey)
#4B006E
ΔE00 4.32
Indigo (survey)
#380282
ΔE00 4.75
Midnight Blue
#191970
ΔE00 7.30
Royal
#0C1793
ΔE00 8.15
Rebeccapurple
#663399
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471B7A #4E7A1B
analogous
#1B1F7A #471B7A #771B7A
triadic
#471B7A #7A471B #1B7A47
tetradic
#471B7A #7A1B1F #4E7A1B #1B7A77
square
#471B7A #7A1B1F #4E7A1B #1B7A77
split-complementary
#471B7A #7A771B #1F7A1B
monochromatic
#0F0619 #2A1048 #471B7A #6426AC #823CD4
Accessibility & contrast
On white
12.31
#471B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#471B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471B7A
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471B7A | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#3B3449
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #471b7a; /* rgb */ color: rgb(71, 27, 122); /* oklch */ color: oklch(34.6% 0.150 299.4);
Tailwind
colors: {
custom: {
50: '#805ca1',
500: '#471b7a',
950: '#000000',
},
}SCSS
$custom: #471b7a; $custom-light: #805ca1; $custom-dark: #000000;
JSON
{
"hex": "#471b7a",
"rgb": {
"r": 71,
"g": 27,
"b": 122
},
"hsl": {
"h": 267.789,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.34624,
"c": 0.14981,
"h": 299.4
},
"luminance": 0.03529
}Semantic roles & 50–950 ramp
primary
#471B7A
secondary
#7CAE43
accent
#E7419A
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F