Color #542961
A moderately saturated dark purple.
Conversions
#542961
rgb(84, 41, 97)
hsl(286.1, 40.6%, 27.1%)
hsv(286.1, 57.7%, 38%)
cmyk(13.4%, 57.7%, 0%, 62%)
lab(24.75, 29.95, -25.09)
lch(24.75, 39.07, 320.05)
oklch(36.4%, 0.104, 317.84)
hwb(286.1, 16.1%, 62%)
Harmony colors
Accessibility
White text reads better on this background (11.25:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#454557 · ΔE 15.8
Deuteranopia
#474a55 · ΔE 18.9
Tritanopia
#524f4d · ΔE 24.2
Achromatopsia
#3b3b3b · ΔE 22.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #542961;
bg-[#542961]
Related colors
Frequently asked questions
#542961 (#542961) is rgb(84, 41, 97) in RGB.
No, #542961 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 #542961, or check how it holds up for accessibility.