#47218E#47218E
#47218E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.166 H 292.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #47218E |
|---|---|
| RGB | rgb(71, 33, 142) |
| HSL | hsl(261, 62%, 34%) |
| HSV | hsv(261, 77%, 56%) |
| CMYK | cmyk(50%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(24.89, 43.09, -53.59) |
| CIE-LCH | lch(24.89, 68.77, 308.80°) |
| OKLab | oklab(37.19% 0.0628 -0.1538) |
| OKLCH | oklch(37.19% 0.166 292.2) |
| XYZ | xyz(8.0235, 4.3800, 26.0086) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.91
Indigo (survey)
#380282
ΔE00 5.28
Indigo Blue
#3A18B1
ΔE00 5.47
Royal
#0C1793
ΔE00 6.51
Rebeccapurple
#663399
ΔE00 6.74
Ultramarine
#2000B1
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47218E #688E21
analogous
#21328E #47218E #7E218E
triadic
#47218E #8E4721 #218E47
tetradic
#47218E #8E2132 #688E21 #218E7E
square
#47218E #8E2132 #688E21 #218E7E
split-complementary
#47218E #8E7E21 #328E21
monochromatic
#150A2B #2E155C #47218E #602DC0 #8152D7
Accessibility & contrast
On white
11.19
#47218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#47218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47218E
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47218E | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 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: #47218e; /* rgb */ color: rgb(71, 33, 142); /* oklch */ color: oklch(37.2% 0.166 292.2);
Tailwind
colors: {
custom: {
50: '#8261b0',
500: '#47218e',
950: '#000000',
},
}SCSS
$custom: #47218e; $custom-light: #8261b0; $custom-dark: #000000;
JSON
{
"hex": "#47218e",
"rgb": {
"r": 71,
"g": 33,
"b": 142
},
"hsl": {
"h": 260.917,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.37185,
"c": 0.16614,
"h": 292.2
},
"luminance": 0.0438
}Semantic roles & 50–950 ramp
primary
#47218E
secondary
#95BA50
accent
#E542AD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980