#47197C#47197C
#47197C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.154 H 299.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #47197C |
|---|---|
| RGB | rgb(71, 25, 124) |
| HSL | hsl(268, 66%, 29%) |
| HSV | hsv(268, 80%, 49%) |
| CMYK | cmyk(42.7%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(21.91, 41.94, -47.17) |
| CIE-LCH | lch(21.91, 63.12, 311.64°) |
| OKLab | oklab(34.58% 0.0748 -0.1349) |
| OKLCH | oklch(34.58% 0.154 299) |
| XYZ | xyz(6.5833, 3.4900, 19.3917) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.19
Royal Purple (survey)
#4B006E
ΔE00 4.21
Indigo (survey)
#380282
ΔE00 4.29
Midnight Blue
#191970
ΔE00 7.31
Royal
#0C1793
ΔE00 7.86
Indigo Blue
#3A18B1
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47197C #4E7C19
analogous
#191C7C #47197C #79197C
triadic
#47197C #7C4719 #197C47
tetradic
#47197C #7C191C #4E7C19 #197C79
square
#47197C #7C191C #4E7C19 #197C79
split-complementary
#47197C #7C7919 #1C7C19
monochromatic
#0F0519 #2A0F49 #47197C #6423AF #8238D7
Accessibility & contrast
On white
12.37
#47197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#47197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47197C
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47197C | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#3A344A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #47197c; /* rgb */ color: rgb(71, 25, 124); /* oklch */ color: oklch(34.6% 0.154 299.0);
Tailwind
colors: {
custom: {
50: '#805ba3',
500: '#47197c',
950: '#000000',
},
}SCSS
$custom: #47197c; $custom-light: #805ba3; $custom-dark: #000000;
JSON
{
"hex": "#47197c",
"rgb": {
"r": 71,
"g": 25,
"b": 124
},
"hsl": {
"h": 267.879,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.34583,
"c": 0.15427,
"h": 299
},
"luminance": 0.0349
}Semantic roles & 50–950 ramp
primary
#47197C
secondary
#7CB040
accent
#E93E9A
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F