#47218F#47218F
#47218F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.167 H 291.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #47218F |
|---|---|
| RGB | rgb(71, 33, 143) |
| HSL | hsl(261, 63%, 35%) |
| HSV | hsv(261, 77%, 56%) |
| CMYK | cmyk(50.3%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(24.98, 43.37, -54.06) |
| CIE-LCH | lch(24.98, 69.31, 308.74°) |
| OKLab | oklab(37.28% 0.0625 -0.1552) |
| OKLCH | oklch(37.28% 0.167 291.9) |
| XYZ | xyz(8.0989, 4.4102, 26.4058) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.97
Indigo Blue
#3A18B1
ΔE00 5.31
Indigo (survey)
#380282
ΔE00 5.32
Royal
#0C1793
ΔE00 6.46
Rebeccapurple
#663399
ΔE00 6.73
Ultramarine
#2000B1
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47218F #698F21
analogous
#21328F #47218F #7E218F
triadic
#47218F #8F4721 #218F47
tetradic
#47218F #8F2132 #698F21 #218F7E
square
#47218F #8F2132 #698F21 #218F7E
split-complementary
#47218F #8F7E21 #328F21
monochromatic
#160A2C #2E165D #47218F #602CC1 #8153D7
Accessibility & contrast
On white
11.16
#47218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#47218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47218F
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47218F | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2F3F57
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #47218f; /* rgb */ color: rgb(71, 33, 143); /* oklch */ color: oklch(37.3% 0.167 291.9);
Tailwind
colors: {
custom: {
50: '#8261b1',
500: '#47218f',
950: '#000000',
},
}SCSS
$custom: #47218f; $custom-light: #8261b1; $custom-dark: #000000;
JSON
{
"hex": "#47218f",
"rgb": {
"r": 71,
"g": 33,
"b": 143
},
"hsl": {
"h": 260.727,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.3728,
"c": 0.16731,
"h": 291.9
},
"luminance": 0.0441
}Semantic roles & 50–950 ramp
primary
#47218F
secondary
#96BB51
accent
#E642AD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980