#1F0C30 Hex Color

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

Hex color #1f0c30 graphic
Dark and heavily muted, this purple sits close to black with a cool, dusty cast. The hex code #1f0c30 works best as a dominant base in dark mode UI or moody branding, where it reads richer than plain black. White text clears WCAG AA on it at about 18.2:1 contrast. Pair it with muted gold or dusty lavender for a touch of depth.

Questions about #1f0c30

What is #1f0c30 in RGB, HSL and CMYK?
In RGB, #1f0c30 is rgb(31, 12, 48), in HSL hsl(272, 60%, 12%) and in CMYK 35%, 75%, 0%, 81%.
What colors pair well with #1f0c30?
Muted gold and amber bring out its violet undertone, while dusty lavender keeps the palette soft. Avoid mid-tone purples beside it, since similar hues blur together at this lightness.
Is #1f0c30 readable on white or black?
#1f0c30 has a 18.20:1 contrast ratio on white and 1.15: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.