#47186C#47186C
#47186C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.138 H 305.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #47186C |
|---|---|
| RGB | rgb(71, 24, 108) |
| HSL | hsl(274, 64%, 26%) |
| HSV | hsv(274, 78%, 42%) |
| CMYK | cmyk(34.3%, 77.8%, 0%, 57.6%) |
| CIE-LAB | lab(20.34, 38.27, -39.43) |
| CIE-LCH | lch(20.34, 54.94, 314.14°) |
| OKLab | oklab(33.05% 0.0799 -0.1121) |
| OKLCH | oklch(33.05% 0.138 305.5) |
| XYZ | xyz(5.6313, 3.0756, 14.4814) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.31
Indigo
#4B0082
ΔE00 4.95
Indigo (survey)
#380282
ΔE00 6.25
Plum Purple
#4E0550
ΔE00 7.27
Dark Indigo
#1F0954
ΔE00 7.71
Midnight Blue
#191970
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47186C #3D6C18
analogous
#1D186C #47186C #6C1867
triadic
#47186C #6C4718 #186C47
tetradic
#47186C #6C1D18 #3D6C18 #18676C
square
#47186C #6C1D18 #3D6C18 #18676C
split-complementary
#47186C #676C18 #186C1D
monochromatic
#100619 #260D3A #47186C #68239E #892ED0
Accessibility & contrast
On white
13.00
#47186C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#47186C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47186C
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47186C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47186C | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#402C41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #47186c; /* rgb */ color: rgb(71, 24, 108); /* oklch */ color: oklch(33.0% 0.138 305.5);
Tailwind
colors: {
custom: {
50: '#7e5a97',
500: '#47186c',
950: '#000000',
},
}SCSS
$custom: #47186c; $custom-light: #7e5a97; $custom-dark: #000000;
JSON
{
"hex": "#47186c",
"rgb": {
"r": 71,
"g": 24,
"b": 108
},
"hsl": {
"h": 273.571,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.33047,
"c": 0.13769,
"h": 305.5
},
"luminance": 0.03076
}Semantic roles & 50–950 ramp
primary
#47186C
secondary
#6AA23E
accent
#E7418A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E