Color #8a2679
A moderately saturated dark magenta.
Conversions
#8a2679
rgb(138, 38, 121)
hsl(310.2, 56.8%, 34.5%)
hsv(310.2, 72.5%, 54.1%)
cmyk(0%, 72.5%, 12.3%, 45.9%)
lab(34.34, 50.97, -24.76)
lch(34.34, 56.67, 334.09)
oklch(45.6%, 0.1636, 335.63)
hwb(310.2, 14.9%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (7.97:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#6d6c6c · ΔE 27.3
Deuteranopia
#717768 · ΔE 41.2
Tritanopia
#87605d · ΔE 23.8
Achromatopsia
#515151 · ΔE 25.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a2679;
bg-[#8a2679]
Related colors
Frequently asked questions
#8a2679 (#8a2679) is rgb(138, 38, 121) in RGB.
No, #8a2679 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 #8a2679, or check how it holds up for accessibility.