#471B7F#471B7F
#471B7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.155 H 297.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #471B7F |
|---|---|
| RGB | rgb(71, 27, 127) |
| HSL | hsl(266, 65%, 30%) |
| HSV | hsv(266, 79%, 50%) |
| CMYK | cmyk(44.1%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(22.50, 41.83, -48.10) |
| CIE-LCH | lch(22.50, 63.75, 311.01°) |
| OKLab | oklab(35.08% 0.0722 -0.1377) |
| OKLCH | oklch(35.08% 0.155 297.7) |
| XYZ | xyz(6.8202, 3.6556, 20.4208) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.42
Indigo (survey)
#380282
ΔE00 4.37
Royal Purple (survey)
#4B006E
ΔE00 4.80
Midnight Blue
#191970
ΔE00 7.25
Royal
#0C1793
ΔE00 7.54
Indigo Blue
#3A18B1
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471B7F #537F1B
analogous
#1B217F #471B7F #791B7F
triadic
#471B7F #7F471B #1B7F47
tetradic
#471B7F #7F1B21 #537F1B #1B7F79
square
#471B7F #7F1B21 #537F1B #1B7F79
split-complementary
#471B7F #7F791B #217F1B
monochromatic
#0F061A #2B104D #471B7F #6326B1 #813ED6
Accessibility & contrast
On white
12.13
#471B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#471B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471B7F
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471B7F | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 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: #471b7f; /* rgb */ color: rgb(71, 27, 127); /* oklch */ color: oklch(35.1% 0.155 297.7);
Tailwind
colors: {
custom: {
50: '#805da5',
500: '#471b7f',
950: '#000000',
},
}SCSS
$custom: #471b7f; $custom-light: #805da5; $custom-dark: #000000;
JSON
{
"hex": "#471b7f",
"rgb": {
"r": 71,
"g": 27,
"b": 127
},
"hsl": {
"h": 266.4,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.35081,
"c": 0.15545,
"h": 297.7
},
"luminance": 0.03656
}Semantic roles & 50–950 ramp
primary
#471B7F
secondary
#82B343
accent
#E8409E
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F