#340C70 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This intense violet carries a deep, gloomy presence that works well for branding requiring a sense of mystery or seriousness. Because #340c70 is very dark, it serves best as a moody background color rather than for small text. It pairs effectively with white for high-contrast accessibility. As a hex code, #340c70 provides a strong, authoritative base for high-end digital design layouts.
Questions about #340c70
What is #340c70 in RGB, HSL and CMYK?
In RGB, #340c70 is rgb(52, 12, 112), in HSL hsl(264, 81%, 24%) and in CMYK 54%, 89%, 0%, 56%.
How should I use #340c70 in a web interface?
#340c70 works best as a primary background color for immersive, dark-themed branding that requires a sophisticated and serious tone. Because it is extremely dark, avoid using it for small text to ensure readability, opting instead for high-contrast white or light typography.
Does #340c70 pair well with other colors?
This deep violet creates strong, professional palettes when paired with neutral light gray or crisp silver accents. For a bolder look, it serves as a powerful anchor against warm, vibrant gold tones which help cut through the darkness of the violet base.
Is #340c70 readable on white or black?
#340c70 has a 14.65:1 contrast ratio on white and 1.43: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.