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

#540070 is an intense, saturated violet that feels almost black in low light. Because it is so dark, avoid using it for large text or backgrounds unless you pair it with high-contrast white text for readability. This shade works best as an accent color for moody branding or UI elements. The hex code for this deep purple is #540070.
Questions about #540070
What is #540070 in RGB, HSL and CMYK?
In RGB, #540070 is rgb(84, 0, 112), in HSL hsl(285, 100%, 22%) and in CMYK 25%, 100%, 0%, 56%.
Should #540070 be used for body text or large backgrounds?
Avoid using #540070 for large blocks of text or full-page backgrounds because its extreme darkness can reduce legibility and cause eye strain. It functions most effectively as a refined accent color for buttons, thin borders, or small graphical elements against lighter surfaces.
Is #540070 readable on white or black?
#540070 has a 13.03:1 contrast ratio on white and 1.61: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.