Color #40394a
A nearly neutral, gray-leaning dark purple.
Conversions
#40394a
rgb(64, 57, 74)
hsl(264.7, 13%, 25.7%)
hsv(264.7, 23%, 29%)
cmyk(13.5%, 23%, 0%, 71%)
lab(25.29, 7, -9.28)
lch(25.29, 11.62, 307.03)
oklch(35.9%, 0.0303, 303.69)
hwb(264.7, 22.4%, 71%)
Harmony colors
Accessibility
White text reads better on this background (11.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3d3d46 · ΔE 5.9
Deuteranopia
#3d3e45 · ΔE 7.3
Tritanopia
#404343 · ΔE 12.1
Achromatopsia
#3c3c3c · ΔE 10.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40394a;
bg-[#40394a]
Related colors
Frequently asked questions
#40394a (#40394a) is rgb(64, 57, 74) in RGB.
No, #40394a is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #40394a, or check how it holds up for accessibility.