Color #8c3173
A moderately saturated dark magenta.
Conversions
#8c3173
rgb(140, 49, 115)
hsl(316.5, 48.1%, 37.1%)
hsv(316.5, 65%, 54.9%)
cmyk(0%, 65%, 17.9%, 45.1%)
lab(36.01, 46.09, -18.38)
lch(36.01, 49.62, 338.26)
oklch(46.7%, 0.1454, 340.14)
hwb(316.5, 19.2%, 45.1%)
Harmony colors
Accessibility
White text reads better on this background (7.49:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#706f68 · ΔE 31.3
Deuteranopia
#747965 · ΔE 41.3
Tritanopia
#895d5b · ΔE 20.3
Achromatopsia
#555555 · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c3173;
bg-[#8c3173]
Related colors
Frequently asked questions
#8c3173 (#8c3173) is rgb(140, 49, 115) in RGB.
No, #8c3173 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #8c3173, or check how it holds up for accessibility.