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

#300159 is an intensely deep, cool violet that pushes toward near-black. It provides a premium, moody foundation for dark-mode interfaces where white text remains exceptionally readable. Designers should use this as a primary background color rather than an accent, as its extreme darkness often swallows finer details. The hex code for this shade is #300159.
Questions about #300159
What is #300159 in RGB, HSL and CMYK?
In RGB, #300159 is rgb(48, 1, 89), in HSL hsl(272, 98%, 18%) and in CMYK 46%, 99%, 0%, 65%.
How should I use #300159 in UI design?
Use #300159 as a primary background color for high-end dark-mode applications where elegance is required. Because this shade is so dark, avoid using it for small text or fine lines, as it provides low contrast against standard black surfaces.
What colors pair well with #300159?
Is #300159 readable on white or black?
#300159 has a 16.48:1 contrast ratio on white and 1.27: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.