#1F0A52 Hex Color

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

Hex color #1f0a52 graphic
Dark and cool, #1f0a52 combines strong violet saturation with very low lightness, giving designs a serious, mysterious mood. It works well as a dominant background for luxury branding, spiritual themes, and gaming interfaces, paired with warm gold or muted peach. White text has about a 17.2:1 contrast ratio. The hex code is #1f0a52.

Questions about #1f0a52

What is #1f0a52 in RGB, HSL and CMYK?
In RGB, #1f0a52 is rgb(31, 10, 82), in HSL hsl(258, 78%, 18%) and in CMYK 62%, 88%, 0%, 68%.
What colors pair well with #1f0a52?
Warm gold and muted peach pair especially well with #1f0a52, adding contrast without weakening its luxurious, mysterious mood; use gold for highlights and peach for softer supporting elements in branding, interfaces, or editorial layouts.
Does #1f0a52 look warm or cool?
The #1f0a52 hex color reads as cool because its strong violet hue leans toward blue, while its very low lightness adds a shadowed, reserved feel rather than a warm, energetic one. It suits serious, spiritual themes, futuristic interfaces, and nighttime visual systems.
Is #1f0a52 readable on white or black?
#1f0a52 has a 17.16:1 contrast ratio on white and 1.22: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.