#47209F#47209F
#47209F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.187 H 288.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #47209F |
|---|---|
| RGB | rgb(71, 32, 159) |
| HSL | hsl(258, 66%, 37%) |
| HSV | hsv(258, 80%, 62%) |
| CMYK | cmyk(55.3%, 79.9%, 0%, 37.6%) |
| CIE-LAB | lab(26.38, 48.33, -61.61) |
| CIE-LCH | lch(26.38, 78.30, 308.11°) |
| OKLab | oklab(38.73% 0.0585 -0.1773) |
| OKLCH | oklch(38.73% 0.187 288.3) |
| XYZ | xyz(9.3712, 4.8753, 33.2414) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.10
Ultramarine
#2000B1
ΔE00 5.67
Violet Blue
#510AC9
ΔE00 5.75
Cobalt Blue
#030AA7
ΔE00 6.22
Indigo
#4B0082
ΔE00 6.23
Royal
#0C1793
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47209F #789F20
analogous
#20399F #47209F #86209F
triadic
#47209F #9F4720 #209F47
tetradic
#47209F #9F2039 #789F20 #209F86
square
#47209F #9F2039 #789F20 #209F86
split-complementary
#47209F #9F8620 #399F20
monochromatic
#1A0B39 #30166C #47209F #5E2AD2 #835BDE
Accessibility & contrast
On white
10.63
#47209F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#47209F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47209F
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47209F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47209F | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#22455F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #47209f; /* rgb */ color: rgb(71, 32, 159); /* oklch */ color: oklch(38.7% 0.187 288.3);
Tailwind
colors: {
custom: {
50: '#8561bd',
500: '#47209f',
950: '#000000',
},
}SCSS
$custom: #47209f; $custom-light: #8561bd; $custom-dark: #000000;
JSON
{
"hex": "#47209f",
"rgb": {
"r": 71,
"g": 32,
"b": 159
},
"hsl": {
"h": 258.425,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.38725,
"c": 0.18668,
"h": 288.3
},
"luminance": 0.04876
}Semantic roles & 50–950 ramp
primary
#47209F
secondary
#A2C259
accent
#E93EB5
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981