#471B7B#471B7B
#471B7B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.151 H 299.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #471B7B |
|---|---|
| RGB | rgb(71, 27, 123) |
| HSL | hsl(268, 64%, 29%) |
| HSV | hsv(268, 78%, 48%) |
| CMYK | cmyk(42.3%, 78%, 0%, 51.8%) |
| CIE-LAB | lab(22.14, 40.76, -46.16) |
| CIE-LCH | lch(22.14, 61.58, 311.45°) |
| OKLab | oklab(34.72% 0.0733 -0.132) |
| OKLCH | oklch(34.72% 0.151 299) |
| XYZ | xyz(6.5647, 3.5534, 19.0751) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.61
Royal Purple (survey)
#4B006E
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 4.66
Midnight Blue
#191970
ΔE00 7.28
Royal
#0C1793
ΔE00 8.02
Rebeccapurple
#663399
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471B7B #4F7B1B
analogous
#1B1F7B #471B7B #771B7B
triadic
#471B7B #7B471B #1B7B47
tetradic
#471B7B #7B1B1F #4F7B1B #1B7B77
square
#471B7B #7B1B1F #4F7B1B #1B7B77
split-complementary
#471B7B #7B771B #1F7B1B
monochromatic
#0E0619 #2A1049 #471B7B #6426AD #823CD4
Accessibility & contrast
On white
12.27
#471B7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#471B7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471B7B
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471B7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471B7B | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#3A344A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #471b7b; /* rgb */ color: rgb(71, 27, 123); /* oklch */ color: oklch(34.7% 0.151 299.0);
Tailwind
colors: {
custom: {
50: '#805ca2',
500: '#471b7b',
950: '#000000',
},
}SCSS
$custom: #471b7b; $custom-light: #805ca2; $custom-dark: #000000;
JSON
{
"hex": "#471b7b",
"rgb": {
"r": 71,
"g": 27,
"b": 123
},
"hsl": {
"h": 267.5,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.34715,
"c": 0.15094,
"h": 299
},
"luminance": 0.03554
}Semantic roles & 50–950 ramp
primary
#471B7B
secondary
#7DAF43
accent
#E7419B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F