#47309E#47309E
#47309E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.168 H 285.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #47309E |
|---|---|
| RGB | rgb(71, 48, 158) |
| HSL | hsl(253, 53%, 40%) |
| HSV | hsv(253, 70%, 62%) |
| CMYK | cmyk(55.1%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(29.21, 39.77, -56.34) |
| CIE-LCH | lch(29.21, 68.97, 305.22°) |
| OKLab | oklab(40.7% 0.0458 -0.1619) |
| OKLCH | oklch(40.7% 0.168 285.8) |
| XYZ | xyz(9.8252, 5.9216, 32.9664) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.33
Blueberry
#464196
ΔE00 5.36
Indigo Blue
#3A18B1
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 5.84
Rebeccapurple
#663399
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47309E #879E30
analogous
#30509E #47309E #7E309E
triadic
#47309E #9E4730 #309E47
tetradic
#47309E #9E3050 #879E30 #309E7E
square
#47309E #9E3050 #879E30 #309E7E
split-complementary
#47309E #9E7E30 #509E30
monochromatic
#1D1340 #32226F #47309E #6045C6 #8874D5
Accessibility & contrast
On white
9.61
#47309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#47309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47309E
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47309E | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#224C63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #47309e; /* rgb */ color: rgb(71, 48, 158); /* oklch */ color: oklch(40.7% 0.168 285.8);
Tailwind
colors: {
custom: {
50: '#836abc',
500: '#47309e',
950: '#000000',
},
}SCSS
$custom: #47309e; $custom-light: #836abc; $custom-dark: #000000;
JSON
{
"hex": "#47309e",
"rgb": {
"r": 71,
"g": 48,
"b": 158
},
"hsl": {
"h": 252.545,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.407,
"c": 0.16831,
"h": 285.8
},
"luminance": 0.05922
}Semantic roles & 50–950 ramp
primary
#47309E
secondary
#ACBD6D
accent
#DD4BBE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81