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

This intense, darkened violet carries a heavy, serious mood perfect for creating dramatic contrast. Because it is so deep, #520278 works best as a moody backdrop or a supporting accent rather than a dominant base. It offers excellent legibility with white text, making it a reliable choice for dark mode UI designs. This hex code pairs surprisingly well with muted gold accents to add a touch of luxury.
Questions about #520278
What is #520278 in RGB, HSL and CMYK?
In RGB, #520278 is rgb(82, 2, 120), in HSL hsl(281, 97%, 24%) and in CMYK 32%, 98%, 0%, 53%.
What colors pair best with the intense #520278 violet?
Pair #520278 with muted golds or creams to create a sense of high-end luxury without overwhelming the design. For a more modern, technical look, use it alongside cool silver accents to balance the depth of the purple base.
Does #520278 work for UI text or backgrounds?
#520278 is best utilized as a background color for dark-themed user interfaces because it offers high legibility when paired with white or off-white text. Avoid using this hex code for body text, as its extreme darkness can strain the eyes.
Is #520278 readable on white or black?
#520278 has a 12.81:1 contrast ratio on white and 1.63: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.