#47339E#47339E
#47339E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.165 H 285.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #47339E |
|---|---|
| RGB | rgb(71, 51, 158) |
| HSL | hsl(251, 51%, 41%) |
| HSV | hsv(251, 68%, 62%) |
| CMYK | cmyk(55.1%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(29.85, 38.03, -55.30) |
| CIE-LCH | lch(29.85, 67.12, 304.52°) |
| OKLab | oklab(41.16% 0.043 -0.1589) |
| OKLCH | oklch(41.16% 0.165 285.1) |
| XYZ | xyz(9.9521, 6.1753, 33.0087) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.61
Darkslateblue
#483D8B
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.48
Indigo Blue
#3A18B1
ΔE00 6.08
Rebeccapurple
#663399
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47339E #8A9E33
analogous
#33549E #47339E #7C339E
triadic
#47339E #9E4733 #339E47
tetradic
#47339E #9E3354 #8A9E33 #339E7C
square
#47339E #9E3354 #8A9E33 #339E7C
split-complementary
#47339E #9E7C33 #549E33
monochromatic
#1D1541 #322470 #47339E #614AC4 #8978D3
Accessibility & contrast
On white
9.40
#47339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#47339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47339E
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47339E | 1.00 | 9.40 | 2.24 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#214E64
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #47339e; /* rgb */ color: rgb(71, 51, 158); /* oklch */ color: oklch(41.2% 0.165 285.1);
Tailwind
colors: {
custom: {
50: '#836cbc',
500: '#47339e',
950: '#000000',
},
}SCSS
$custom: #47339e; $custom-light: #836cbc; $custom-dark: #000000;
JSON
{
"hex": "#47339e",
"rgb": {
"r": 71,
"g": 51,
"b": 158
},
"hsl": {
"h": 251.215,
"s": 51.196,
"l": 40.98
},
"oklch": {
"l": 0.41158,
"c": 0.16462,
"h": 285.1
},
"luminance": 0.06176
}Semantic roles & 50–950 ramp
primary
#47339E
secondary
#AEBC71
accent
#DB4DC0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81