Color #8d397b
A moderately saturated dark magenta.
Conversions
#8d397b
rgb(141, 57, 123)
hsl(312.9, 42.4%, 38.8%)
hsv(312.9, 59.6%, 55.3%)
cmyk(0%, 59.6%, 12.8%, 44.7%)
lab(37.88, 43.97, -20.46)
lch(37.88, 48.5, 335.05)
oklch(48.3%, 0.1399, 336.68)
hwb(312.9, 22.4%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (6.99:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#72726f · ΔE 28.7
Deuteranopia
#767b6c · ΔE 38.8
Tritanopia
#8a6562 · ΔE 21.5
Achromatopsia
#595959 · ΔE 24.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8d397b;
bg-[#8d397b]
Related colors
Frequently asked questions
#8d397b (#8d397b) is rgb(141, 57, 123) in RGB.
No, #8d397b 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 #8d397b, or check how it holds up for accessibility.