#47219E#47219E
#47219E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.185 H 288.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #47219E |
|---|---|
| RGB | rgb(71, 33, 158) |
| HSL | hsl(258, 65%, 37%) |
| HSV | hsv(258, 79%, 62%) |
| CMYK | cmyk(55.1%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(26.43, 47.59, -60.90) |
| CIE-LCH | lch(26.43, 77.29, 308.01°) |
| OKLab | oklab(38.74% 0.0581 -0.1752) |
| OKLCH | oklch(38.74% 0.185 288.4) |
| XYZ | xyz(9.3121, 4.8955, 32.7954) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.28
Ultramarine
#2000B1
ΔE00 5.84
Violet Blue
#510AC9
ΔE00 5.92
Indigo
#4B0082
ΔE00 6.26
Royal
#0C1793
ΔE00 6.31
Cobalt Blue
#030AA7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47219E #789E21
analogous
#213A9E #47219E #86219E
triadic
#47219E #9E4721 #219E47
tetradic
#47219E #9E213A #789E21 #219E86
square
#47219E #9E213A #789E21 #219E86
split-complementary
#47219E #9E8621 #3A9E21
monochromatic
#1A0C39 #30166B #47219E #5E2CD1 #835CDD
Accessibility & contrast
On white
10.61
#47219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#47219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47219E
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47219E | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#23455F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #47219e; /* rgb */ color: rgb(71, 33, 158); /* oklch */ color: oklch(38.7% 0.185 288.4);
Tailwind
colors: {
custom: {
50: '#8461bc',
500: '#47219e',
950: '#000000',
},
}SCSS
$custom: #47219e; $custom-light: #8461bc; $custom-dark: #000000;
JSON
{
"hex": "#47219e",
"rgb": {
"r": 71,
"g": 33,
"b": 158
},
"hsl": {
"h": 258.24,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.38736,
"c": 0.1846,
"h": 288.4
},
"luminance": 0.04896
}Semantic roles & 50–950 ramp
primary
#47219E
secondary
#A2C159
accent
#E83FB5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81