#311242 Hex Color

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

Hex color #311242 graphic
#311242 is a cold, unsaturated violet with significant depth. It creates a serious, moody tone that works well for dark mode backgrounds or high-end branding. Pair this hex code with metallic gold or pale cream to prevent the design from feeling too heavy. It offers excellent legibility for white text, boasting a 16.2:1 contrast ratio, which is ideal for accessible body content.

Questions about #311242

What is #311242 in RGB, HSL and CMYK?
In RGB, #311242 is rgb(49, 18, 66), in HSL hsl(279, 57%, 16%) and in CMYK 26%, 73%, 0%, 74%.
What colors pair best with #311242 in a design?
To prevent #311242 from feeling too heavy or oppressive, pair it with light, luminous accents like metallic gold or pale cream. These warm, lighter tones provide a necessary visual lift that balances the coolness of this deep, moody violet.
Is #311242 readable on white or black?
#311242 has a 16.20:1 contrast ratio on white and 1.29: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.