#47208F#47208F
#47208F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.168 H 292.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).
Color values
| HEX | #47208F |
|---|---|
| RGB | rgb(71, 32, 143) |
| HSL | hsl(261, 63%, 34%) |
| HSV | hsv(261, 78%, 56%) |
| CMYK | cmyk(50.3%, 77.6%, 0%, 43.9%) |
| CIE-LAB | lab(24.81, 43.85, -54.34) |
| CIE-LCH | lch(24.81, 69.83, 308.90°) |
| OKLab | oklab(37.16% 0.0634 -0.156) |
| OKLCH | oklch(37.16% 0.168 292.1) |
| XYZ | xyz(8.0716, 4.3555, 26.3967) |
| Luminance | 0.0436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.79
Indigo (survey)
#380282
ΔE00 5.15
Indigo Blue
#3A18B1
ΔE00 5.27
Royal
#0C1793
ΔE00 6.41
Rebeccapurple
#663399
ΔE00 6.83
Ultramarine
#2000B1
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47208F #688F20
analogous
#20318F #47208F #7F208F
triadic
#47208F #8F4720 #208F47
tetradic
#47208F #8F2031 #688F20 #208F7F
square
#47208F #8F2031 #688F20 #208F7F
split-complementary
#47208F #8F7F20 #318F20
monochromatic
#150A2B #2E155D #47208F #602BC1 #8151D8
Accessibility & contrast
On white
11.22
#47208F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#47208F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47208F
11.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47208F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47208F | 1.00 | 11.22 | 1.87 | 11.22 |
| #FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2F3F56
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #47208f; /* rgb */ color: rgb(71, 32, 143); /* oklch */ color: oklch(37.2% 0.168 292.1);
Tailwind
colors: {
custom: {
50: '#8260b1',
500: '#47208f',
950: '#000000',
},
}SCSS
$custom: #47208f; $custom-light: #8260b1; $custom-dark: #000000;
JSON
{
"hex": "#47208f",
"rgb": {
"r": 71,
"g": 32,
"b": 143
},
"hsl": {
"h": 261.081,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.37161,
"c": 0.16837,
"h": 292.1
},
"luminance": 0.04356
}Semantic roles & 50–950 ramp
primary
#47208F
secondary
#95BB4F
accent
#E641AC
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980