Color #542c5e
A muted dark purple.
Conversions
#542c5e
rgb(84, 44, 94)
hsl(288, 36.2%, 27.1%)
hsv(288, 53.2%, 36.9%)
cmyk(10.6%, 53.2%, 0%, 63.1%)
lab(25.24, 27.5, -22.34)
lch(25.24, 35.43, 320.91)
oklch(36.7%, 0.095, 319.35)
hwb(288, 17.3%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (11.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464655 · ΔE 16.2
Deuteranopia
#484b53 · ΔE 19.5
Tritanopia
#534d4b · ΔE 22.3
Achromatopsia
#3c3c3c · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #542c5e;
bg-[#542c5e]
Related colors
Frequently asked questions
#542c5e (#542c5e) is rgb(84, 44, 94) in RGB.
No, #542c5e 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 #542c5e, or check how it holds up for accessibility.