#47229C#47229C
#47229C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.181 H 288.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #47229C |
|---|---|
| RGB | rgb(71, 34, 156) |
| HSL | hsl(258, 64%, 37%) |
| HSV | hsv(258, 78%, 61%) |
| CMYK | cmyk(54.5%, 78.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.40, 46.56, -59.74) |
| CIE-LCH | lch(26.40, 75.74, 307.93°) |
| OKLab | oklab(38.65% 0.058 -0.1718) |
| OKLCH | oklch(38.65% 0.181 288.7) |
| XYZ | xyz(9.1696, 4.8835, 31.9055) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.59
Ultramarine
#2000B1
ΔE00 6.10
Indigo
#4B0082
ΔE00 6.20
Violet Blue
#510AC9
ΔE00 6.24
Royal
#0C1793
ΔE00 6.32
Indigo (survey)
#380282
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47229C #779C22
analogous
#223A9C #47229C #84229C
triadic
#47229C #9C4722 #229C47
tetradic
#47229C #9C223A #779C22 #229C84
square
#47229C #9C223A #779C22 #229C84
split-complementary
#47229C #9C8422 #3A9C22
monochromatic
#190C38 #30176A #47229C #5E2DCE #835DDC
Accessibility & contrast
On white
10.62
#47229C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#47229C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47229C
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47229C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47229C | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#25455E
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #47229c; /* rgb */ color: rgb(71, 34, 156); /* oklch */ color: oklch(38.7% 0.181 288.7);
Tailwind
colors: {
custom: {
50: '#8462ba',
500: '#47229c',
950: '#000000',
},
}SCSS
$custom: #47229c; $custom-light: #8462ba; $custom-dark: #000000;
JSON
{
"hex": "#47229c",
"rgb": {
"r": 71,
"g": 34,
"b": 156
},
"hsl": {
"h": 258.197,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.38652,
"c": 0.18135,
"h": 288.7
},
"luminance": 0.04884
}Semantic roles & 50–950 ramp
primary
#47229C
secondary
#A1C05A
accent
#E741B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81