#05041A Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #05041a graphic
An almost black, somber tone with heavy violet undertones, #05041a functions best as a sophisticated background in dark mode UI design. Because it sits on the edge of visibility, pair it with crisp white typography for maximum legibility and high contrast. This hex code provides a moody, grounded foundation for luxury branding where standard black feels too harsh or one-dimensional.

Questions about #05041a

What is #05041a in RGB, HSL and CMYK?
In RGB, #05041a is rgb(5, 4, 26), in HSL hsl(243, 73%, 6%) and in CMYK 81%, 85%, 0%, 90%.
How should I use #05041a in a UI design?
Use #05041a as a sophisticated alternative to standard black for website backgrounds. Its violet undertones provide a softer, more grounded feel that pairs exceptionally well with bright white text to maintain high readability and contrast in complex dark mode layouts.
What colors pair well with #05041a?
This dark shade complements crisp neutrals like white or soft silver for clean typography. For accent colors, it works surprisingly well with muted jewel tones like emerald or gold, which pop beautifully against its deep, somber violet base.
Is #05041a readable on white or black?
#05041a has a 20.21:1 contrast ratio on white and 1.03: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.