#47209B#47209B
#47209B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.182 H 289.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #47209B |
|---|---|
| RGB | rgb(71, 32, 155) |
| HSL | hsl(259, 66%, 37%) |
| HSV | hsv(259, 79%, 61%) |
| CMYK | cmyk(54.2%, 79.4%, 0%, 39.2%) |
| CIE-LAB | lab(25.98, 47.21, -59.82) |
| CIE-LCH | lch(25.98, 76.21, 308.28°) |
| OKLab | oklab(38.33% 0.0598 -0.172) |
| OKLCH | oklch(38.33% 0.182 289.2) |
| XYZ | xyz(9.0297, 4.7387, 31.4429) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.58
Indigo
#4B0082
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 5.93
Indigo (survey)
#380282
ΔE00 5.96
Royal
#0C1793
ΔE00 6.21
Violet Blue
#510AC9
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47209B #749B20
analogous
#20379B #47209B #85209B
triadic
#47209B #9B4720 #209B47
tetradic
#47209B #9B2037 #749B20 #209B85
square
#47209B #9B2037 #749B20 #209B85
split-complementary
#47209B #9B8520 #379B20
monochromatic
#190B36 #301668 #47209B #5E2ACE #8359DD
Accessibility & contrast
On white
10.78
#47209B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#47209B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47209B
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47209B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47209B | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#26435D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #47209b; /* rgb */ color: rgb(71, 32, 155); /* oklch */ color: oklch(38.3% 0.182 289.2);
Tailwind
colors: {
custom: {
50: '#8461ba',
500: '#47209b',
950: '#000000',
},
}SCSS
$custom: #47209b; $custom-light: #8461ba; $custom-dark: #000000;
JSON
{
"hex": "#47209b",
"rgb": {
"r": 71,
"g": 32,
"b": 155
},
"hsl": {
"h": 259.024,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.38327,
"c": 0.18214,
"h": 289.2
},
"luminance": 0.04739
}Semantic roles & 50–950 ramp
primary
#47209B
secondary
#9FC156
accent
#E93FB3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981