#40323F Hex Color

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

Hex color #40323f graphic
A dusty, desaturated magenta, #40323f offers a muted alternative to black for moody UI designs. This dark shade feels serious and grounded rather than vivid, making it an excellent base for branding that demands subtlety. Because of its low lightness, white text provides the best readability against this hex code. Try pairing it with soft creams to maintain a balanced, modern contrast.

Questions about #40323f

What is #40323f in RGB, HSL and CMYK?
In RGB, #40323f is rgb(64, 50, 63), in HSL hsl(304, 12%, 22%) and in CMYK 0%, 22%, 2%, 75%. Browse more shades of black with names and hex codes.
How should I use #40323f in a UI design interface?
#40323f functions best as a deep, moody background color that anchors a modern design interface. Because it is quite dark, use it sparingly as a primary base and pair it with soft, warm creams or white text to ensure high readability and contrast.
What colors pair well with the deep tones of #40323f?
Because #40323f has strong magenta undertones, it creates a sophisticated balance when paired with muted champagne or soft peach tones. These lighter, desaturated colors provide a gentle contrast that keeps the overall palette feeling grounded and serious rather than overly vibrant.
Is #40323f readable on white or black?
#40323f has a 12.02:1 contrast ratio on white and 1.74: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.