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

A near-black purple with dusty gray undertones. #1f0f28 works best as a dominant base in dark mode interfaces, gaming layouts, or luxury branding where mood matters more than pop. Its low lightness keeps fine detail hard to read on top, so save it for backgrounds and large type. White text clears WCAG AA easily here at roughly 18.1:1 contrast. The hex code #1f0f28 pairs well with muted gold or warm mauve.
Questions about #1f0f28
What is #1f0f28 in RGB, HSL and CMYK?
In RGB, #1f0f28 is rgb(31, 15, 40), in HSL hsl(278, 45%, 11%) and in CMYK 22%, 62%, 0%, 84%. Browse more shades of purple with names and hex codes.
What colors pair well with #1f0f28?
Muted gold and warm mauve both lift #1f0f28 without fighting its dim, ashy character. For a colder palette, try dusty blue-gray accents, which echo its gray undertones instead of clashing with them.
Is #1f0f28 readable on white or black?
#1f0f28 has a 18.14: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.