#47309F#47309F
#47309F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.170 H 285.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #47309F |
|---|---|
| RGB | rgb(71, 48, 159) |
| HSL | hsl(252, 54%, 41%) |
| HSV | hsv(252, 70%, 62%) |
| CMYK | cmyk(55.3%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(29.30, 40.08, -56.81) |
| CIE-LCH | lch(29.30, 69.52, 305.20°) |
| OKLab | oklab(40.79% 0.0457 -0.1633) |
| OKLCH | oklch(40.79% 0.17 285.6) |
| XYZ | xyz(9.9116, 5.9562, 33.4215) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.35
Blueberry
#464196
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.62
Sapphire (survey)
#2138AB
ΔE00 5.78
Rebeccapurple
#663399
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#47309F #889F30
analogous
#30519F #47309F #7E309F
triadic
#47309F #9F4730 #309F47
tetradic
#47309F #9F3051 #889F30 #309F7E
square
#47309F #9F3051 #889F30 #309F7E
split-complementary
#47309F #9F7E30 #519F30
monochromatic
#1D1441 #322270 #47309F #6045C7 #8874D5
Accessibility & contrast
On white
9.58
#47309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#47309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #47309F
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##47309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##47309F | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#214D63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #47309f; /* rgb */ color: rgb(71, 48, 159); /* oklch */ color: oklch(40.8% 0.170 285.6);
Tailwind
colors: {
custom: {
50: '#836abc',
500: '#47309f',
950: '#000000',
},
}SCSS
$custom: #47309f; $custom-light: #836abc; $custom-dark: #000000;
JSON
{
"hex": "#47309f",
"rgb": {
"r": 71,
"g": 48,
"b": 159
},
"hsl": {
"h": 252.432,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.4079,
"c": 0.16957,
"h": 285.6
},
"luminance": 0.05957
}Semantic roles & 50–950 ramp
primary
#47309F
secondary
#ADBD6E
accent
#DD4BBF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81