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

Dark and highly saturated, #1f004d is a cool purple with strong violet undertones and very low lightness. Its serious, mysterious character suits gaming interfaces, spiritual branding, luxury packaging, and moody backgrounds. Use it as a dominant base with warm cream or muted gold accents. White text remains highly readable, with about 18:1 contrast. The hex code is #1f004d.
Questions about #1f004d
What is #1f004d in RGB, HSL and CMYK?
In RGB, #1f004d is rgb(31, 0, 77), in HSL hsl(264, 100%, 15%) and in CMYK 60%, 100%, 0%, 70%. Browse more shades of purple with names and hex codes.
What colors pair well with #1f004d?
#1f004d pairs well with warm cream, muted gold, and soft beige because these warmer tones balance its cool violet depth and create clear visual contrast without weakening its mysterious character.
Where does #1f004d work best in design?
#1f004d works best as a dominant background or accent in gaming interfaces, spiritual branding, luxury packaging, and other layouts that benefit from a serious, mysterious mood rather than airy, playful designs.
Is #1f004d readable on white or black?
#1f004d has a 18.01:1 contrast ratio on white and 1.16: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.