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

A dark purple #5138a7 works as a dominant base in dark mode UI, gaming brands, and moody packaging. Its low lightness and blue undertones give it a gloomy, serious character that suits luxury and spiritual themes. The hex code #5138a7 holds white body text at about 8.5:1 contrast, and it looks richer against muted gold than against gray.
Questions about #5138a7
What is #5138a7 in RGB, HSL and CMYK?
In RGB, #5138a7 is rgb(81, 56, 167), in HSL hsl(254, 50%, 44%) and in CMYK 51%, 66%, 0%, 35%.
What colors pair well with #5138a7?
Muted gold brings out its royal side, while desaturated teal keeps the palette cool and moody. Soft lilac tints of the same hue work for layered, monochromatic layouts.
Does #5138a7 read warm or cool?
It reads cool. Its blue-leaning undertones and dark, muted profile give it a cold, shadowed feel, so it suits gloomy or contemplative designs better than warm, energetic ones.
Is #5138a7 readable on white or black?
#5138a7 has a 8.48:1 contrast ratio on white and 2.47: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.