#47167F#47167F
#47167F is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.161 H 298.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #47167F |
|---|---|
| RGB | rgb(71, 22, 127) |
| HSL | hsl(268, 70%, 29%) |
| HSV | hsv(268, 83%, 50%) |
| CMYK | cmyk(44.1%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(21.75, 44.00, -49.34) |
| CIE-LCH | lch(21.75, 66.11, 311.73°) |
| OKLab | oklab(34.56% 0.0764 -0.1412) |
| OKLCH | oklch(34.56% 0.161 298.4) |
| XYZ | xyz(6.7152, 3.4456, 20.3858) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.56
Indigo (survey)
#380282
ΔE00 3.69
Royal Purple (survey)
#4B006E
ΔE00 4.20
Midnight Blue
#191970
ΔE00 7.39
Royal
#0C1793
ΔE00 7.50
Indigo Blue
#3A18B1
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47167F #4E7F16
analogous
#161A7F #47167F #7C167F
triadic
#47167F #7F4716 #167F47
tetradic
#47167F #7F161A #4E7F16 #167F7C
square
#47167F #7F161A #4E7F16 #167F7C
split-complementary
#47167F #7F7C16 #1A7F16
monochromatic
#0F051A #2A0D4B #47167F #641FB3 #8234DC
Accessibility & contrast
On white
12.43
#47167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#47167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47167F
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47167F | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#39344B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #47167f; /* rgb */ color: rgb(71, 22, 127); /* oklch */ color: oklch(34.6% 0.161 298.4);
Tailwind
colors: {
custom: {
50: '#815aa5',
500: '#47167f',
950: '#000000',
},
}SCSS
$custom: #47167f; $custom-light: #815aa5; $custom-dark: #000000;
JSON
{
"hex": "#47167f",
"rgb": {
"r": 71,
"g": 22,
"b": 127
},
"hsl": {
"h": 268,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.34556,
"c": 0.16059,
"h": 298.4
},
"luminance": 0.03446
}Semantic roles & 50–950 ramp
primary
#47167F
secondary
#7CB43D
accent
#ED3B9A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F