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

The hex code #40404a represents a dark, dusty violet that functions as a serious neutral. It excels in dark mode interfaces, offering 10.2:1 contrast against white text. Designers researching what colors make gray can look here to see how violet undertones add complexity to standard charcoal. Use it as a dominant, moody base to ground sophisticated brand palettes.
Questions about #40404a
What is #40404a in RGB, HSL and CMYK?
In RGB, #40404a is rgb(64, 64, 74), in HSL hsl(240, 7%, 27%) and in CMYK 14%, 14%, 0%, 71%. Browse more shades of gray with names and hex codes.
How does the violet undertone in #40404a affect design?
The subtle violet undertone in #40404a gives the color more character than a flat charcoal, adding a sense of sophistication to professional branding. It pairs beautifully with cool grays or sharp whites for a balanced, modern aesthetic.
Is #40404a readable on white or black?
#40404a has a 10.24:1 contrast ratio on white and 2.05: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.