Color #7a2868
A moderately saturated dark magenta.
Conversions
#7a2868
rgb(122, 40, 104)
hsl(313.2, 50.6%, 31.8%)
hsv(313.2, 67.2%, 47.8%)
cmyk(0%, 67.2%, 14.8%, 52.2%)
lab(31.01, 43.11, -19.37)
lch(31.01, 47.26, 335.8)
oklch(42.3%, 0.1372, 337.51)
hwb(313.2, 15.7%, 52.2%)
Harmony colors
Accessibility
White text reads better on this background (9.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#61605d · ΔE 27.7
Deuteranopia
#65695a · ΔE 38
Tritanopia
#775451 · ΔE 21
Achromatopsia
#494949 · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7a2868;
bg-[#7a2868]
Related colors
Frequently asked questions
#7a2868 (#7a2868) is rgb(122, 40, 104) in RGB.
No, #7a2868 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 #7a2868, or check how it holds up for accessibility.