#47228E#47228E
#47228E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.165 H 292.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #47228E |
|---|---|
| RGB | rgb(71, 34, 142) |
| HSL | hsl(261, 61%, 35%) |
| HSV | hsv(261, 76%, 56%) |
| CMYK | cmyk(50%, 76.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.06, 42.59, -53.31) |
| CIE-LCH | lch(25.06, 68.23, 308.62°) |
| OKLab | oklab(37.31% 0.0619 -0.153) |
| OKLCH | oklch(37.31% 0.165 292) |
| XYZ | xyz(8.0517, 4.4363, 26.0180) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.10
Indigo (survey)
#380282
ΔE00 5.46
Indigo Blue
#3A18B1
ΔE00 5.52
Royal
#0C1793
ΔE00 6.56
Rebeccapurple
#663399
ΔE00 6.64
Ultramarine
#2000B1
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47228E #698E22
analogous
#22338E #47228E #7D228E
triadic
#47228E #8E4722 #228E47
tetradic
#47228E #8E2233 #698E22 #228E7D
square
#47228E #8E2233 #698E22 #228E7D
split-complementary
#47228E #8E7D22 #338E22
monochromatic
#160A2B #2E165D #47228E #602EBF #8154D6
Accessibility & contrast
On white
11.13
#47228E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#47228E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47228E
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47228E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47228E | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#303F56
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #47228e; /* rgb */ color: rgb(71, 34, 142); /* oklch */ color: oklch(37.3% 0.165 292.0);
Tailwind
colors: {
custom: {
50: '#8261b0',
500: '#47228e',
950: '#000000',
},
}SCSS
$custom: #47228e; $custom-light: #8261b0; $custom-dark: #000000;
JSON
{
"hex": "#47228e",
"rgb": {
"r": 71,
"g": 34,
"b": 142
},
"hsl": {
"h": 260.556,
"s": 61.364,
"l": 34.51
},
"oklch": {
"l": 0.37308,
"c": 0.16504,
"h": 292
},
"luminance": 0.04437
}Semantic roles & 50–950 ramp
primary
#47228E
secondary
#96BA52
accent
#E443AD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0511
muted
#7C7980