#47228F#47228F
#47228F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.166 H 291.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #47228F |
|---|---|
| RGB | rgb(71, 34, 143) |
| HSL | hsl(260, 62%, 35%) |
| HSV | hsv(260, 76%, 56%) |
| CMYK | cmyk(50.3%, 76.2%, 0%, 43.9%) |
| CIE-LAB | lab(25.16, 42.87, -53.78) |
| CIE-LCH | lch(25.16, 68.78, 308.56°) |
| OKLab | oklab(37.4% 0.0617 -0.1544) |
| OKLCH | oklch(37.4% 0.166 291.8) |
| XYZ | xyz(8.1271, 4.4665, 26.4152) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.15
Indigo Blue
#3A18B1
ΔE00 5.37
Indigo (survey)
#380282
ΔE00 5.50
Royal
#0C1793
ΔE00 6.51
Rebeccapurple
#663399
ΔE00 6.63
Ultramarine
#2000B1
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47228F #6A8F22
analogous
#22348F #47228F #7E228F
triadic
#47228F #8F4722 #228F47
tetradic
#47228F #8F2234 #6A8F22 #228F7E
square
#47228F #8F2234 #6A8F22 #228F7E
split-complementary
#47228F #8F7E22 #348F22
monochromatic
#160A2C #2E165E #47228F #602EC0 #8155D7
Accessibility & contrast
On white
11.09
#47228F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#47228F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47228F
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47228F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47228F | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2F4057
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #47228f; /* rgb */ color: rgb(71, 34, 143); /* oklch */ color: oklch(37.4% 0.166 291.8);
Tailwind
colors: {
custom: {
50: '#8261b1',
500: '#47228f',
950: '#000000',
},
}SCSS
$custom: #47228f; $custom-light: #8261b1; $custom-dark: #000000;
JSON
{
"hex": "#47228f",
"rgb": {
"r": 71,
"g": 34,
"b": 143
},
"hsl": {
"h": 260.367,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.37402,
"c": 0.16622,
"h": 291.8
},
"luminance": 0.04467
}Semantic roles & 50–950 ramp
primary
#47228F
secondary
#97BA52
accent
#E543AE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980