Color #542242
A moderately saturated dark magenta.
Conversions
#542242
rgb(84, 34, 66)
hsl(321.6, 42.4%, 23.1%)
hsv(321.6, 59.5%, 32.9%)
cmyk(0%, 59.5%, 21.4%, 67.1%)
lab(21.66, 27.61, -9.17)
lch(21.66, 29.09, 341.63)
oklch(33.6%, 0.0858, 343.49)
hwb(321.6, 13.3%, 67.1%)
Harmony colors
Accessibility
White text reads better on this background (12.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#44433c · ΔE 26.4
Deuteranopia
#46493a · ΔE 33.2
Tritanopia
#523735 · ΔE 14.2
Achromatopsia
#343434 · ΔE 21.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #542242;
bg-[#542242]
Related colors
Frequently asked questions
#542242 (#542242) is rgb(84, 34, 66) in RGB.
No, #542242 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 #542242, or check how it holds up for accessibility.