Color #8a3971
A moderately saturated dark magenta.
Conversions
#8a3971
rgb(138, 57, 113)
hsl(318.5, 41.5%, 38.2%)
hsv(318.5, 58.7%, 54.1%)
cmyk(0%, 58.7%, 18.1%, 45.9%)
lab(36.97, 41.42, -15.66)
lch(36.97, 44.28, 339.29)
oklch(47.4%, 0.1298, 341.17)
hwb(318.5, 22.4%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (7.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#706f67 · ΔE 30.9
Deuteranopia
#747964 · ΔE 40.3
Tritanopia
#875e5c · ΔE 18.7
Achromatopsia
#575757 · ΔE 24.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a3971;
bg-[#8a3971]
Related colors
Frequently asked questions
#8a3971 (#8a3971) is rgb(138, 57, 113) in RGB.
No, #8a3971 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 #8a3971, or check how it holds up for accessibility.