#47339F#47339F
#47339F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.166 H 285.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #47339F |
|---|---|
| RGB | rgb(71, 51, 159) |
| HSL | hsl(251, 51%, 41%) |
| HSV | hsv(251, 68%, 62%) |
| CMYK | cmyk(55.3%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(29.94, 38.35, -55.77) |
| CIE-LCH | lch(29.94, 67.68, 304.51°) |
| OKLab | oklab(41.25% 0.0429 -0.1603) |
| OKLCH | oklch(41.25% 0.166 285) |
| XYZ | xyz(10.0385, 6.2099, 33.4638) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.66
Darkslateblue
#483D8B
ΔE00 4.86
Ocean Blue
#4F42B5
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.42
Indigo Blue
#3A18B1
ΔE00 6.00
Rebeccapurple
#663399
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47339F #8B9F33
analogous
#33559F #47339F #7D339F
triadic
#47339F #9F4733 #339F47
tetradic
#47339F #9F3355 #8B9F33 #339F7D
square
#47339F #9F3355 #8B9F33 #339F7D
split-complementary
#47339F #9F7D33 #559F33
monochromatic
#1E1542 #322471 #47339F #614AC5 #8979D4
Accessibility & contrast
On white
9.37
#47339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#47339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47339F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47339F | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#204E64
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #47339f; /* rgb */ color: rgb(71, 51, 159); /* oklch */ color: oklch(41.2% 0.166 285.0);
Tailwind
colors: {
custom: {
50: '#836cbc',
500: '#47339f',
950: '#000000',
},
}SCSS
$custom: #47339f; $custom-light: #836cbc; $custom-dark: #000000;
JSON
{
"hex": "#47339f",
"rgb": {
"r": 71,
"g": 51,
"b": 159
},
"hsl": {
"h": 251.111,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.41246,
"c": 0.16592,
"h": 285
},
"luminance": 0.0621
}Semantic roles & 50–950 ramp
primary
#47339F
secondary
#AEBC71
accent
#DB4DC1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81