#540440 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dark, moody magenta sits on the edge of black, creating a mysterious and serious atmosphere. Because it is so deep, #540440 functions best as a dominant base for high-contrast palettes rather than as small text. Pair it with crisp white or soft pastels to keep the design from feeling muddy. The hex code for this shade is #540440.
Questions about #540440
What is #540440 in RGB, HSL and CMYK?
In RGB, #540440 is rgb(84, 4, 64), in HSL hsl(315, 91%, 17%) and in CMYK 0%, 95%, 24%, 67%. Browse more shades of purple with names and hex codes.
What colors pair well with the deep tone of #540440?
#540440 functions best when paired with crisp white or soft pastels to prevent a muddy appearance. Using it alongside lighter shades allows the depth of this dark magenta to anchor the design, creating a balanced and professional contrast for digital layouts.
Is #540440 suitable for text on dark backgrounds?
Avoid using #540440 for small text, as its dark, near-black nature lacks the necessary contrast against dark backgrounds. It is best reserved for large backgrounds or graphic elements where its intense, moody saturation can be fully appreciated without compromising legibility.
Is #540440 readable on white or black?
#540440 has a 14.30:1 contrast ratio on white and 1.46:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.