Skip to content
Kolorvia
#8b228b

Color #8b228b

A moderately saturated dark magenta.

Conversions

HEX
#8b228b
RGB
rgb(139, 34, 139)
HSL
hsl(300, 60.7%, 33.9%)
HSV / HSB
hsv(300, 75.5%, 54.5%)
CMYK
cmyk(0%, 75.5%, 0%, 45.5%)
LAB
lab(35, 55.56, -34.9)
LCH
lch(35, 65.61, 327.87)
OKLCH
oklch(46.4%, 0.1827, 328.04)
HWB
hwb(300, 13.3%, 45.5%)

Harmony colors

Complementary

#228b22

Analogous

#56228b
#8b228b
#8b2256

Triadic

#8b228b
#8b8b22
#228b8b

Split-complementary

#8b228b
#568b22
#228b56

Tetradic

#8b228b
#8b2222
#228b22
#228b8b

Square

#8b228b
#8b5622
#228b22
#22568b

Shades

Color #8b228b mixed toward black.

#741c74
#5d175d
#451145
#2e0b2e
#170617

Tints

Color #8b228b mixed toward white.

#b82db8
#d34ad3
#de78de
#e9a5e9
#f4d2f4

Tones

Color #8b228b mixed toward gray.

#822b82
#793379
#713c71
#684568
#5f4e5f

Accessibility

Aa White text on this color
7.78:1
Aa Black text on this color
2.7:1

White text reads better on this background (7.78:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#6d6c7b · ΔE 24.5

Deuteranopia

#727777 · ΔE 22.5

Tritanopia

#886d6a · ΔE 28.1

Achromatopsia

#525252 · ΔE 26.8

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

Code

CSS
background-color: #8b228b;
Tailwind (arbitrary value)
bg-[#8b228b]

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#8b228b (#8b228b) is rgb(139, 34, 139) in RGB.

No, #8b228b 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 #8b228b, 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.