Color #870d70
A vivid, highly saturated dark magenta.
Conversions
#870d70
rgb(135, 13, 112)
hsl(311.3, 82.4%, 29%)
hsv(311.3, 90.4%, 52.9%)
cmyk(0%, 90.4%, 17%, 47.1%)
lab(30.9, 55.85, -24.49)
lch(30.9, 60.98, 336.32)
oklch(42.8%, 0.1789, 338.14)
hwb(311.3, 5.1%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (9.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#686763 · ΔE 31.2
Deuteranopia
#6d735f · ΔE 44.8
Tritanopia
#845653 · ΔE 23.9
Achromatopsia
#494949 · ΔE 26.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #870d70;
bg-[#870d70]
Related colors
Frequently asked questions
#870d70 (#870d70) is rgb(135, 13, 112) in RGB.
No, #870d70 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 #870d70, or check how it holds up for accessibility.