Color #542e5c
A muted dark purple.
Conversions
#542e5c
rgb(84, 46, 92)
hsl(289.6, 33.3%, 27.1%)
hsv(289.6, 50%, 36.1%)
cmyk(8.7%, 50%, 0%, 63.9%)
lab(25.6, 25.84, -20.48)
lch(25.6, 32.97, 321.6)
oklch(36.9%, 0.0888, 320.48)
hwb(289.6, 18%, 63.9%)
Harmony colors
Accessibility
White text reads better on this background (10.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464654 · ΔE 16
Deuteranopia
#484b51 · ΔE 19.7
Tritanopia
#534c4a · ΔE 21.2
Achromatopsia
#3d3d3d · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #542e5c;
bg-[#542e5c]
Related colors
Frequently asked questions
#542e5c (#542e5c) is rgb(84, 46, 92) in RGB.
No, #542e5c 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 #542e5c, or check how it holds up for accessibility.