Color #54407c
A muted dark purple.
Conversions
#54407c
rgb(84, 64, 124)
hsl(260, 31.9%, 36.9%)
hsv(260, 48.4%, 48.6%)
cmyk(32.3%, 48.4%, 0%, 51.4%)
lab(31.82, 22.83, -31.12)
lch(31.82, 38.6, 306.26)
oklch(42.2%, 0.0985, 297.37)
hwb(260, 25.1%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (8.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4c4c71 · ΔE 7.3
Deuteranopia
#4d4f6e · ΔE 9.1
Tritanopia
#536765 · ΔE 25.2
Achromatopsia
#4b4b4b · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #54407c;
bg-[#54407c]
Related colors
Frequently asked questions
#54407c (#54407c) is rgb(84, 64, 124) in RGB.
No, #54407c 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 #54407c, or check how it holds up for accessibility.