Color #8c2f8c
A moderately saturated dark magenta.
Conversions
#8c2f8c
rgb(140, 47, 140)
hsl(300, 49.7%, 36.7%)
hsv(300, 66.4%, 54.9%)
cmyk(0%, 66.4%, 0%, 45.1%)
lab(36.94, 51.12, -32.44)
lch(36.94, 60.54, 327.6)
oklch(47.8%, 0.1684, 327.81)
hwb(300, 18.4%, 45.1%)
Harmony colors
Accessibility
White text reads better on this background (7.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#706f7d · ΔE 23.7
Deuteranopia
#747979 · ΔE 21.9
Tritanopia
#89706c · ΔE 27.6
Achromatopsia
#575757 · ΔE 26
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8c2f8c;
bg-[#8c2f8c]
Related colors
Frequently asked questions
#8c2f8c (#8c2f8c) is rgb(140, 47, 140) in RGB.
No, #8c2f8c is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #8c2f8c, or check how it holds up for accessibility.