Skip to content
Kolorvia
#9e3b8a

Color #9e3b8a

A moderately saturated medium magenta.

Conversions

HEX
#9e3b8a
RGB
rgb(158, 59, 138)
HSL
hsl(312.1, 45.6%, 42.5%)
HSV / HSB
hsv(312.1, 62.7%, 62%)
CMYK
cmyk(0%, 62.7%, 12.7%, 38%)
LAB
lab(41.59, 50.43, -23.73)
LCH
lch(41.59, 55.73, 334.8)
OKLCH
oklch(51.7%, 0.1609, 336.41)
HWB
hwb(312.1, 23.1%, 38%)

Harmony colors

Complementary

#3b9e4f

Analogous

#803b9e
#9e3b8a
#9e3b58

Triadic

#9e3b8a
#8a9e3b
#3b8a9e

Split-complementary

#9e3b8a
#589e3b
#3b9e80

Tetradic

#9e3b8a
#9e4f3b
#3b9e4f
#3b8a9e

Square

#9e3b8a
#9e803b
#3b9e4f
#3b589e

Shades

Color #9e3b8a mixed toward black.

#833173
#69275c
#4f1d45
#35142e
#1a0a17

Tints

Color #9e3b8a mixed toward white.

#bd4da6
#ca71b8
#d794ca
#e4b8db
#f2dbed

Tones

Color #9e3b8a mixed toward gray.

#964385
#8d4b80
#85547b
#7d5c76
#756471

Accessibility

Aa White text on this color
6.09:1
Aa Black text on this color
3.45:1

White text reads better on this background (6.09:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#7f7e7c · ΔE 29

Deuteranopia

#848a79 · ΔE 42.2

Tritanopia

#9b706d · ΔE 23.5

Achromatopsia

#626262 · ΔE 25.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #9e3b8a;
Tailwind (arbitrary value)
bg-[#9e3b8a]

Related colors

Orchid #da70d6
Medium Violet Red #c71585
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#9e3b8a (#9e3b8a) is rgb(158, 59, 138) in RGB.

No, #9e3b8a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #9e3b8a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.