#47166F#47166F
#47166F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.143 H 304.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #47166F |
|---|---|
| RGB | rgb(71, 22, 111) |
| HSL | hsl(273, 67%, 26%) |
| HSV | hsv(273, 80%, 44%) |
| CMYK | cmyk(36%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(20.29, 39.92, -41.47) |
| CIE-LCH | lch(20.29, 57.56, 313.91°) |
| OKLab | oklab(33.09% 0.0812 -0.1181) |
| OKLCH | oklch(33.09% 0.143 304.5) |
| XYZ | xyz(5.7540, 3.0611, 15.3236) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.89
Indigo
#4B0082
ΔE00 4.20
Indigo (survey)
#380282
ΔE00 5.54
Plum Purple
#4E0550
ΔE00 7.71
Dark Indigo
#1F0954
ΔE00 7.72
Midnight Blue
#191970
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47166F #3E6F16
analogous
#1B166F #47166F #6F166A
triadic
#47166F #6F4716 #166F47
tetradic
#47166F #6F1B16 #3E6F16 #166A6F
square
#47166F #6F1B16 #3E6F16 #166A6F
split-complementary
#47166F #6A6F16 #166F1B
monochromatic
#10051A #260C3C #47166F #6820A2 #882BD5
Accessibility & contrast
On white
13.03
#47166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#47166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47166F
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47166F | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3F2D42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #47166f; /* rgb */ color: rgb(71, 22, 111); /* oklch */ color: oklch(33.1% 0.143 304.5);
Tailwind
colors: {
custom: {
50: '#7f5999',
500: '#47166f',
950: '#000000',
},
}SCSS
$custom: #47166f; $custom-light: #7f5999; $custom-dark: #000000;
JSON
{
"hex": "#47166f",
"rgb": {
"r": 71,
"g": 22,
"b": 111
},
"hsl": {
"h": 273.034,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.33086,
"c": 0.14332,
"h": 304.5
},
"luminance": 0.03061
}Semantic roles & 50–950 ramp
primary
#47166F
secondary
#6BA53C
accent
#EA3E8B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E