#47117C#47117C
#47117C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.162 H 300.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #47117C |
|---|---|
| RGB | rgb(71, 17, 124) |
| HSL | hsl(270, 76%, 28%) |
| HSV | hsv(270, 86%, 49%) |
| CMYK | cmyk(42.7%, 86.3%, 0%, 51.4%) |
| CIE-LAB | lab(20.81, 45.13, -48.96) |
| CIE-LCH | lch(20.81, 66.59, 312.67°) |
| OKLab | oklab(33.82% 0.0812 -0.1401) |
| OKLCH | oklch(33.82% 0.162 300.1) |
| XYZ | xyz(6.4362, 3.1957, 19.3426) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.00
Royal Purple (survey)
#4B006E
ΔE00 3.37
Indigo (survey)
#380282
ΔE00 3.43
Midnight Blue
#191970
ΔE00 7.60
Royal
#0C1793
ΔE00 7.88
Darkblue
#00008B
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47117C #467C11
analogous
#11117C #47117C #7C117C
triadic
#47117C #7C4711 #117C47
tetradic
#47117C #7C1111 #467C11 #117C7C
square
#47117C #7C1111 #467C11 #117C7C
split-complementary
#47117C #7C7C11 #117C11
monochromatic
#0F041B #280A46 #47117C #6618B2 #8526E1
Accessibility & contrast
On white
12.81
#47117C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#47117C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47117C
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47117C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47117C | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#3A3048
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #47117c; /* rgb */ color: rgb(71, 17, 124); /* oklch */ color: oklch(33.8% 0.162 300.1);
Tailwind
colors: {
custom: {
50: '#8158a3',
500: '#47117c',
950: '#000000',
},
}SCSS
$custom: #47117c; $custom-light: #8158a3; $custom-dark: #000000;
JSON
{
"hex": "#47117c",
"rgb": {
"r": 71,
"g": 17,
"b": 124
},
"hsl": {
"h": 270.28,
"s": 75.887,
"l": 27.647
},
"oklch": {
"l": 0.3382,
"c": 0.16191,
"h": 300.1
},
"luminance": 0.03196
}Semantic roles & 50–950 ramp
primary
#47117C
secondary
#74B237
accent
#F23593
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F