#1B1243 Hex Color

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

Hex color #1b1243 graphic
This near-black violet feels heavy and serious, making it an ideal choice for dark mode interfaces. Because it offers high contrast with white text, it remains legible even at small sizes. Use this deep shade as a dominant background to ground sophisticated branding, or try pairing it with muted gold accents to lift the mood. The hex code is #1b1243.

Questions about #1b1243

What is #1b1243 in RGB, HSL and CMYK?
In RGB, #1b1243 is rgb(27, 18, 67), in HSL hsl(251, 58%, 17%) and in CMYK 60%, 73%, 0%, 74%. Browse more shades of purple with names and hex codes.
What colors pair best with #1b1243?
Because #1b1243 is such a dense and saturated dark violet, it works exceptionally well with muted metallics like gold or soft, neutral creams to create a refined, high-end visual balance. These pairings prevent the interface from feeling too heavy while maintaining its inherent sense of drama.
Is #1b1243 suitable for text in dark mode designs?
Yes, #1b1243 functions as an ideal background color for dark mode interfaces because it offers a significant contrast advantage over standard black. When you layer white or light-toned text against this deep violet, the result is softer on the eyes while remaining perfectly legible for users.
Is #1b1243 readable on white or black?
#1b1243 has a 17.29: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.