#47166E#47166E
#47166E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.142 H 304.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #47166E |
|---|---|
| RGB | rgb(71, 22, 110) |
| HSL | hsl(273, 67%, 26%) |
| HSV | hsv(273, 80%, 43%) |
| CMYK | cmyk(35.5%, 80%, 0%, 56.9%) |
| CIE-LAB | lab(20.20, 39.67, -40.96) |
| CIE-LCH | lch(20.20, 57.02, 314.08°) |
| OKLab | oklab(33% 0.0814 -0.1166) |
| OKLCH | oklch(33% 0.142 304.9) |
| XYZ | xyz(5.6993, 3.0392, 15.0352) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.89
Indigo
#4B0082
ΔE00 4.36
Indigo (survey)
#380282
ΔE00 5.70
Plum Purple
#4E0550
ΔE00 7.54
Dark Indigo
#1F0954
ΔE00 7.68
Midnight Blue
#191970
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47166E #3D6E16
analogous
#1B166E #47166E #6E1669
triadic
#47166E #6E4716 #166E47
tetradic
#47166E #6E1B16 #3D6E16 #16696E
square
#47166E #6E1B16 #3D6E16 #16696E
split-complementary
#47166E #696E16 #166E1B
monochromatic
#10051A #260C3B #47166E #6820A1 #892AD4
Accessibility & contrast
On white
13.06
#47166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#47166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47166E
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47166E | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#402C41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #47166e; /* rgb */ color: rgb(71, 22, 110); /* oklch */ color: oklch(33.0% 0.142 304.9);
Tailwind
colors: {
custom: {
50: '#7f5998',
500: '#47166e',
950: '#000000',
},
}SCSS
$custom: #47166e; $custom-light: #7f5998; $custom-dark: #000000;
JSON
{
"hex": "#47166e",
"rgb": {
"r": 71,
"g": 22,
"b": 110
},
"hsl": {
"h": 273.409,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.32999,
"c": 0.14224,
"h": 304.9
},
"luminance": 0.03039
}Semantic roles & 50–950 ramp
primary
#47166E
secondary
#6AA43C
accent
#EA3E8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E