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

Dark and saturated, #340a57 is a cool violet-purple with blue undertones and a serious, shadowy presence. It works well as a dominant background or dark-mode surface in luxury, gaming, and spiritual designs. White text remains highly readable, with about a 15.8:1 contrast ratio for accessible body copy. The hex code #340a57 pairs neatly with restrained gold or dusty mauve accents.
Questions about #340a57
What is #340a57 in RGB, HSL and CMYK?
In RGB, #340a57 is rgb(52, 10, 87), in HSL hsl(273, 79%, 19%) and in CMYK 40%, 89%, 0%, 66%.
What colors pair well with #340a57?
Gold and dusty mauve pair well with #340a57, adding warmth and softness without competing with its cool, saturated violet base. Use gold for restrained highlights and mauve for quieter secondary surfaces or accents.
Is #340a57 a warm or cool color?
#340a57 reads as a cool color because its violet base leans toward blue rather than red, while its dark value and strong saturation create a serious, shadowy mood that feels more dramatic than playful.
Where does #340a57 work best in design?
Use #340a57 as a dominant background, dark-mode surface, or strong accent in luxury, gaming, and spiritual designs, where its depth can establish a focused, dramatic visual hierarchy without added clutter. Pair it with light text and restrained warm highlights to preserve clarity and keep the interface from feeling heavy.
Is #340a57 readable on white or black?
#340a57 has a 15.82:1 contrast ratio on white and 1.32: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.