#47147E#47147E
#47147E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.161 H 299.0°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #47147E |
|---|---|
| RGB | rgb(71, 20, 126) |
| HSL | hsl(269, 73%, 29%) |
| HSV | hsv(269, 84%, 49%) |
| CMYK | cmyk(43.7%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(21.38, 44.53, -49.30) |
| CIE-LCH | lch(21.38, 66.44, 312.09°) |
| OKLab | oklab(34.27% 0.0783 -0.1411) |
| OKLCH | oklch(34.27% 0.161 299) |
| XYZ | xyz(6.6136, 3.3462, 20.0320) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.29
Indigo (survey)
#380282
ΔE00 3.54
Royal Purple (survey)
#4B006E
ΔE00 3.88
Midnight Blue
#191970
ΔE00 7.47
Royal
#0C1793
ΔE00 7.62
Indigo Blue
#3A18B1
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47147E #4B7E14
analogous
#14167E #47147E #7C147E
triadic
#47147E #7E4714 #147E47
tetradic
#47147E #7E1416 #4B7E14 #147E7C
square
#47147E #7E1416 #4B7E14 #147E7C
split-complementary
#47147E #7E7C14 #167E14
monochromatic
#0F041A #290C49 #47147E #651CB3 #832EDE
Accessibility & contrast
On white
12.58
#47147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#47147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47147E
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47147E | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#39324A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #47147e; /* rgb */ color: rgb(71, 20, 126); /* oklch */ color: oklch(34.3% 0.161 299.0);
Tailwind
colors: {
custom: {
50: '#8159a4',
500: '#47147e',
950: '#000000',
},
}SCSS
$custom: #47147e; $custom-light: #8159a4; $custom-dark: #000000;
JSON
{
"hex": "#47147e",
"rgb": {
"r": 71,
"g": 20,
"b": 126
},
"hsl": {
"h": 268.868,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.34273,
"c": 0.16138,
"h": 299
},
"luminance": 0.03346
}Semantic roles & 50–950 ramp
primary
#47147E
secondary
#79B33A
accent
#EF3897
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F