#471B8E#471B8E
#471B8E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.172 H 293.1°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #471B8E |
|---|---|
| RGB | rgb(71, 27, 142) |
| HSL | hsl(263, 68%, 33%) |
| HSV | hsv(263, 81%, 56%) |
| CMYK | cmyk(50%, 81%, 0%, 44.3%) |
| CIE-LAB | lab(23.92, 45.87, -55.18) |
| CIE-LCH | lch(23.92, 71.76, 309.73°) |
| OKLab | oklab(36.51% 0.0676 -0.1584) |
| OKLCH | oklch(36.51% 0.172 293.1) |
| XYZ | xyz(7.8716, 4.0762, 25.9580) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.91
Indigo (survey)
#380282
ΔE00 4.34
Indigo Blue
#3A18B1
ΔE00 5.30
Royal
#0C1793
ΔE00 6.31
Royal Purple (survey)
#4B006E
ΔE00 6.61
Ultramarine
#2000B1
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#471B8E #628E1B
analogous
#1B288E #471B8E #801B8E
triadic
#471B8E #8E471B #1B8E47
tetradic
#471B8E #8E1B28 #628E1B #1B8E80
square
#471B8E #8E1B28 #628E1B #1B8E80
split-complementary
#471B8E #8E801B #288E1B
monochromatic
#140727 #2D115B #471B8E #6125C1 #8047DC
Accessibility & contrast
On white
11.57
#471B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#471B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #471B8E
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##471B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##471B8E | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#303C55
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #471b8e; /* rgb */ color: rgb(71, 27, 142); /* oklch */ color: oklch(36.5% 0.172 293.1);
Tailwind
colors: {
custom: {
50: '#825db0',
500: '#471b8e',
950: '#000000',
},
}SCSS
$custom: #471b8e; $custom-light: #825db0; $custom-dark: #000000;
JSON
{
"hex": "#471b8e",
"rgb": {
"r": 71,
"g": 27,
"b": 142
},
"hsl": {
"h": 262.957,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.36509,
"c": 0.17225,
"h": 293.1
},
"luminance": 0.04076
}Semantic roles & 50–950 ramp
primary
#471B8E
secondary
#90BE47
accent
#EB3DA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0511
muted
#7C7980