#47218C#47218C
#47218C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.164 H 292.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #47218C |
|---|---|
| RGB | rgb(71, 33, 140) |
| HSL | hsl(261, 62%, 34%) |
| HSV | hsv(261, 76%, 55%) |
| CMYK | cmyk(49.3%, 76.4%, 0%, 45.1%) |
| CIE-LAB | lab(24.70, 42.52, -52.66) |
| CIE-LCH | lch(24.70, 67.68, 308.92°) |
| OKLab | oklab(37% 0.0633 -0.1511) |
| OKLCH | oklch(37% 0.164 292.7) |
| XYZ | xyz(7.8747, 4.3205, 25.2249) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.80
Indigo (survey)
#380282
ΔE00 5.22
Indigo Blue
#3A18B1
ΔE00 5.77
Royal
#0C1793
ΔE00 6.62
Rebeccapurple
#663399
ΔE00 6.77
Royal Purple (survey)
#4B006E
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47218C #668C21
analogous
#21318C #47218C #7D218C
triadic
#47218C #8C4721 #218C47
tetradic
#47218C #8C2131 #668C21 #218C7D
square
#47218C #8C2131 #668C21 #218C7D
split-complementary
#47218C #8C7D21 #318C21
monochromatic
#150A29 #2E155A #47218C #602DBE #8051D6
Accessibility & contrast
On white
11.26
#47218C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#47218C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47218C
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47218C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47218C | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#313E55
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #47218c; /* rgb */ color: rgb(71, 33, 140); /* oklch */ color: oklch(37.0% 0.164 292.7);
Tailwind
colors: {
custom: {
50: '#8260af',
500: '#47218c',
950: '#000000',
},
}SCSS
$custom: #47218c; $custom-light: #8260af; $custom-dark: #000000;
JSON
{
"hex": "#47218c",
"rgb": {
"r": 71,
"g": 33,
"b": 140
},
"hsl": {
"h": 261.308,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.36998,
"c": 0.1638,
"h": 292.7
},
"luminance": 0.04321
}Semantic roles & 50–950 ramp
primary
#47218C
secondary
#94B94F
accent
#E543AB
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F