#2D2140 Hex Color

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

Hex color #2d2140 graphic
Closer to a moonless night sky than a typical purple, dark purple #2d2140 is a dim, ashy violet with barely any saturation. Its low lightness makes it a solid base for dark mode layouts and moody brand palettes, where white text reads at about 15:1 contrast. Muted gold accents keep it from going flat.

Questions about #2d2140

What is #2d2140 in RGB, HSL and CMYK?
In RGB, #2d2140 is rgb(45, 33, 64), in HSL hsl(263, 32%, 19%) and in CMYK 30%, 48%, 0%, 75%. Browse more shades of purple with names and hex codes.
What text color works best on #2d2140?
White text is the clear choice, reaching about 15:1 contrast on #2d2140. That clears WCAG AA for body copy with room to spare, so small type stays readable on this dark base.
What colors pair well with #2d2140?
Muted gold and warm brass bring out its violet undertones without clashing, while dusty mauve works for softer, tonal palettes. Avoid bright saturated purples nearby, since they make this shade look muddy.
Is #2d2140 readable on white or black?
#2d2140 has a 14.96:1 contrast ratio on white and 1.40: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.