#47196C#47196C
#47196C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.136 H 305.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #47196C |
|---|---|
| RGB | rgb(71, 25, 108) |
| HSL | hsl(273, 62%, 26%) |
| HSV | hsv(273, 77%, 42%) |
| CMYK | cmyk(34.3%, 76.9%, 0%, 57.6%) |
| CIE-LAB | lab(20.51, 37.80, -39.16) |
| CIE-LCH | lch(20.51, 54.43, 313.99°) |
| OKLab | oklab(33.16% 0.0788 -0.1114) |
| OKLCH | oklch(33.16% 0.136 305.3) |
| XYZ | xyz(5.6523, 3.1176, 14.4884) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.51
Indigo
#4B0082
ΔE00 5.08
Indigo (survey)
#380282
ΔE00 6.37
Plum Purple
#4E0550
ΔE00 7.33
Dark Indigo
#1F0954
ΔE00 7.75
Midnight Blue
#191970
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47196C #3E6C19
analogous
#1D196C #47196C #6C1967
triadic
#47196C #6C4719 #196C47
tetradic
#47196C #6C1D19 #3E6C19 #19676C
square
#47196C #6C1D19 #3E6C19 #19676C
split-complementary
#47196C #676C19 #196C1D
monochromatic
#100619 #260D3A #47196C #68259E #8830CF
Accessibility & contrast
On white
12.93
#47196C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#47196C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47196C
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47196C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47196C | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#402D41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #47196c; /* rgb */ color: rgb(71, 25, 108); /* oklch */ color: oklch(33.2% 0.136 305.3);
Tailwind
colors: {
custom: {
50: '#7e5b97',
500: '#47196c',
950: '#000000',
},
}SCSS
$custom: #47196c; $custom-light: #7e5b97; $custom-dark: #000000;
JSON
{
"hex": "#47196c",
"rgb": {
"r": 71,
"g": 25,
"b": 108
},
"hsl": {
"h": 273.253,
"s": 62.406,
"l": 26.078
},
"oklch": {
"l": 0.33163,
"c": 0.13645,
"h": 305.3
},
"luminance": 0.03118
}Semantic roles & 50–950 ramp
primary
#47196C
secondary
#6BA13F
accent
#E5428B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E