#47167C#47167C
#47167C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.157 H 299.5°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #47167C |
|---|---|
| RGB | rgb(71, 22, 124) |
| HSL | hsl(269, 70%, 29%) |
| HSV | hsv(269, 82%, 49%) |
| CMYK | cmyk(42.7%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(21.46, 43.23, -47.89) |
| CIE-LCH | lch(21.46, 64.52, 312.07°) |
| OKLab | oklab(34.27% 0.0774 -0.137) |
| OKLCH | oklch(34.27% 0.157 299.5) |
| XYZ | xyz(6.5226, 3.3686, 19.3714) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.69
Royal Purple (survey)
#4B006E
ΔE00 3.84
Indigo (survey)
#380282
ΔE00 3.91
Midnight Blue
#191970
ΔE00 7.40
Royal
#0C1793
ΔE00 7.84
Indigo Blue
#3A18B1
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47167C #4B7C16
analogous
#16187C #47167C #7A167C
triadic
#47167C #7C4716 #167C47
tetradic
#47167C #7C1618 #4B7C16 #167C7A
square
#47167C #7C1618 #4B7C16 #167C7A
split-complementary
#47167C #7C7A16 #187C16
monochromatic
#0F051A #290D48 #47167C #651FB0 #8332DB
Accessibility & contrast
On white
12.55
#47167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#47167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47167C
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47167C | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#3A3249
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #47167c; /* rgb */ color: rgb(71, 22, 124); /* oklch */ color: oklch(34.3% 0.157 299.5);
Tailwind
colors: {
custom: {
50: '#805aa3',
500: '#47167c',
950: '#000000',
},
}SCSS
$custom: #47167c; $custom-light: #805aa3; $custom-dark: #000000;
JSON
{
"hex": "#47167c",
"rgb": {
"r": 71,
"g": 22,
"b": 124
},
"hsl": {
"h": 268.824,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.34272,
"c": 0.15736,
"h": 299.5
},
"luminance": 0.03369
}Semantic roles & 50–950 ramp
primary
#47167C
secondary
#79B13D
accent
#ED3B97
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F