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

Dark and saturated, #5120d0 is a deep indigo with a strong violet lean. It reads moody and mysterious, which suits dark mode interfaces, night sky themes, and spiritual or creative branding. White text sits comfortably on top with roughly 8.5:1 contrast, well past WCAG AA for body copy. Pair it with muted gold for a luxury feel, or let it anchor a palette as the dominant base. The hex code #5120d0 keeps its depth without tipping into black.
Questions about #5120d0
What is #5120d0 in RGB, HSL and CMYK?
In RGB, #5120d0 is rgb(81, 32, 208), in HSL hsl(257, 73%, 47%) and in CMYK 61%, 85%, 0%, 18%.
What colors pair well with #5120d0?
Muted amber and warm gold bring out its violet depth, while dusty lavender keeps things tonal. Cream also flatters it more than stark white, which can make the indigo look flat.
Is #5120d0 readable on white or black?
#5120d0 has a 8.51:1 contrast ratio on white and 2.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.