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

This near-black violet feels dim and serious. Because #300240 is so dark, it provides an excellent, high-contrast backdrop for white text or bright, neon accents in moody UI designs. It lacks the warmth of lighter purples, making it feel cold and structured. The hex code for this shade is #300240. Use it sparingly as a dominant base to keep your project from feeling too heavy.
Questions about #300240
What is #300240 in RGB, HSL and CMYK?
In RGB, #300240 is rgb(48, 2, 64), in HSL hsl(285, 94%, 13%) and in CMYK 25%, 97%, 0%, 75%.
What design styles work best with #300240?
This color excels in modern, dark-themed UI designs where high readability against white text is required. Its deep, near-black intensity creates a sophisticated, professional atmosphere that feels much colder than traditional purple tones.
How can I effectively pair #300240 in a color scheme?
Pair #300240 with neon accents or bright, desaturated tones to create sharp, effective visual contrast. Because it is essentially a very dark violet, it anchors lighter elements without looking as flat as pure black.
Is #300240 readable on white or black?
#300240 has a 17.37:1 contrast ratio on white and 1.20: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.