#47229F#47229F
#47229F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.185 H 288.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #47229F |
|---|---|
| RGB | rgb(71, 34, 159) |
| HSL | hsl(258, 65%, 38%) |
| HSV | hsv(258, 79%, 62%) |
| CMYK | cmyk(55.3%, 78.6%, 0%, 37.6%) |
| CIE-LAB | lab(26.70, 47.41, -61.08) |
| CIE-LCH | lch(26.70, 77.32, 307.82°) |
| OKLab | oklab(38.95% 0.0571 -0.1757) |
| OKLCH | oklch(38.95% 0.185 288) |
| XYZ | xyz(9.4267, 4.9864, 33.2599) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.24
Violet Blue
#510AC9
ΔE00 5.84
Ultramarine
#2000B1
ΔE00 5.91
Royal
#0C1793
ΔE00 6.38
Cobalt Blue
#030AA7
ΔE00 6.41
Indigo
#4B0082
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47229F #7A9F22
analogous
#223B9F #47229F #85229F
triadic
#47229F #9F4722 #229F47
tetradic
#47229F #9F223B #7A9F22 #229F85
square
#47229F #9F223B #7A9F22 #229F85
split-complementary
#47229F #9F8522 #3B9F22
monochromatic
#1A0C3A #30176D #47229F #5E2DD1 #845FDD
Accessibility & contrast
On white
10.51
#47229F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#47229F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47229F
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47229F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47229F | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#224660
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #47229f; /* rgb */ color: rgb(71, 34, 159); /* oklch */ color: oklch(38.9% 0.185 288.0);
Tailwind
colors: {
custom: {
50: '#8562bd',
500: '#47229f',
950: '#000000',
},
}SCSS
$custom: #47229f; $custom-light: #8562bd; $custom-dark: #000000;
JSON
{
"hex": "#47229f",
"rgb": {
"r": 71,
"g": 34,
"b": 159
},
"hsl": {
"h": 257.76,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.38948,
"c": 0.1848,
"h": 288
},
"luminance": 0.04987
}Semantic roles & 50–950 ramp
primary
#47229F
secondary
#A3C15B
accent
#E840B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81