#47219B#47219B
#47219B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.181 H 289.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #47219B |
|---|---|
| RGB | rgb(71, 33, 155) |
| HSL | hsl(259, 65%, 37%) |
| HSV | hsv(259, 79%, 61%) |
| CMYK | cmyk(54.2%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.14, 46.75, -59.56) |
| CIE-LCH | lch(26.14, 75.71, 308.13°) |
| OKLab | oklab(38.44% 0.059 -0.1713) |
| OKLCH | oklch(38.44% 0.181 289) |
| XYZ | xyz(9.0571, 4.7934, 31.4520) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.64
Indigo
#4B0082
ΔE00 5.96
Ultramarine
#2000B1
ΔE00 6.05
Indigo (survey)
#380282
ΔE00 6.10
Royal
#0C1793
ΔE00 6.26
Violet Blue
#510AC9
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47219B #759B21
analogous
#21389B #47219B #84219B
triadic
#47219B #9B4721 #219B47
tetradic
#47219B #9B2138 #759B21 #219B84
square
#47219B #9B2138 #759B21 #219B84
split-complementary
#47219B #9B8421 #389B21
monochromatic
#190C36 #301669 #47219B #5E2CCD #835ADC
Accessibility & contrast
On white
10.72
#47219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#47219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47219B
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47219B | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#26445D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #47219b; /* rgb */ color: rgb(71, 33, 155); /* oklch */ color: oklch(38.4% 0.181 289.0);
Tailwind
colors: {
custom: {
50: '#8461ba',
500: '#47219b',
950: '#000000',
},
}SCSS
$custom: #47219b; $custom-light: #8461ba; $custom-dark: #000000;
JSON
{
"hex": "#47219b",
"rgb": {
"r": 71,
"g": 33,
"b": 155
},
"hsl": {
"h": 258.689,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.38439,
"c": 0.18117,
"h": 289
},
"luminance": 0.04794
}Semantic roles & 50–950 ramp
primary
#47219B
secondary
#A0C058
accent
#E840B4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981