#1F1F4C Hex Color

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

Hex color #1f1f4c graphic
A dark, muted indigo with cool blue-violet undertones, #1f1f4c feels serious, mysterious, and controlled. Its low lightness creates a matte, night-sky effect suited to dark interfaces, formal branding, and spiritual or creative work. Use it as a dominant background with white text, which reaches about 15.5:1 contrast. The hex code for this color is #1f1f4c.

Questions about #1f1f4c

What is #1f1f4c in RGB, HSL and CMYK?
In RGB, #1f1f4c is rgb(31, 31, 76), in HSL hsl(240, 42%, 21%) and in CMYK 59%, 59%, 0%, 70%. Browse more shades of purple with names and hex codes.
What colors pair well with #1f1f4c?
Pair #1f1f4c with warm terracotta, muted gold, or soft cream; those lighter, warmer notes keep the palette from feeling muddy while preserving its formal character, especially in branding, editorial layouts, and dark-mode interfaces.
Does #1f1f4c read as warm or cool?
#1f1f4c reads cool because its blue-violet hue and low lightness create a shadowed, distant impression, while its muted saturation keeps that coolness restrained instead of bright or electric on screen.
Is #1f1f4c readable on white or black?
#1f1f4c has a 15.45:1 contrast ratio on white and 1.35: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.