#1F162D Hex Color

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

Hex color #1f162d graphic
This dark, dusty violet acts as a sophisticated alternative to pure black. Because #1f162d is highly desaturated, it provides a stable foundation for dark mode interfaces without feeling harsh. The hex code #1f162d offers excellent readability, supporting white text with a 17.3:1 contrast ratio. Use this shade as a primary background or to ground high-contrast neon accents in gaming or luxury branding.

Questions about #1f162d

What is #1f162d in RGB, HSL and CMYK?
In RGB, #1f162d is rgb(31, 22, 45), in HSL hsl(263, 34%, 13%) and in CMYK 31%, 51%, 0%, 82%. Browse more shades of purple with names and hex codes.
Why use #1f162d instead of pure black for interface design?
Using #1f162d provides a softer visual experience that reduces eye strain while maintaining a high 17.3:1 contrast ratio against white text. It adds a sophisticated layer of color depth that makes standard UI elements feel more premium and intentionally designed.
What colors pair well with #1f162d in a professional palette?
This deep violet works exceptionally well when balanced against high-contrast neon accents, such as electric blue or vibrant lime green. You can also create a grounded, monochromatic look by pairing it with various shades of slate gray.
Is #1f162d readable on white or black?
#1f162d has a 17.34:1 contrast ratio on white and 1.21: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.