#47288E#47288E
#47288E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.158 H 290.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #47288E |
|---|---|
| RGB | rgb(71, 40, 142) |
| HSL | hsl(258, 56%, 36%) |
| HSV | hsv(258, 72%, 56%) |
| CMYK | cmyk(50%, 71.8%, 0%, 44.3%) |
| CIE-LAB | lab(26.19, 39.44, -51.47) |
| CIE-LCH | lch(26.19, 64.85, 307.46°) |
| OKLab | oklab(38.1% 0.0564 -0.1476) |
| OKLCH | oklch(38.1% 0.158 290.9) |
| XYZ | xyz(8.2384, 4.8099, 26.0803) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.10
Rebeccapurple
#663399
ΔE00 6.13
Indigo
#4B0082
ΔE00 6.35
Indigo (survey)
#380282
ΔE00 6.67
Royal
#0C1793
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47288E #6F8E28
analogous
#283C8E #47288E #7A288E
triadic
#47288E #8E4728 #288E47
tetradic
#47288E #8E283C #6F8E28 #288E7A
square
#47288E #8E283C #6F8E28 #288E7A
split-complementary
#47288E #8E7A28 #3C8E28
monochromatic
#170D2F #2F1B5E #47288E #5F35BE #825FD2
Accessibility & contrast
On white
10.70
#47288E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#47288E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47288E
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47288E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47288E | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#304258
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #47288e; /* rgb */ color: rgb(71, 40, 142); /* oklch */ color: oklch(38.1% 0.158 290.9);
Tailwind
colors: {
custom: {
50: '#8165b0',
500: '#47288e',
950: '#000000',
},
}SCSS
$custom: #47288e; $custom-light: #8165b0; $custom-dark: #000000;
JSON
{
"hex": "#47288e",
"rgb": {
"r": 71,
"g": 40,
"b": 142
},
"hsl": {
"h": 258.235,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.38103,
"c": 0.15803,
"h": 290.9
},
"luminance": 0.0481
}Semantic roles & 50–950 ramp
primary
#47288E
secondary
#9BB75B
accent
#DF48B1
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80