Color #40353d
A nearly neutral, gray-leaning dark magenta.
Conversions
#40353d
rgb(64, 53, 61)
hsl(316.4, 9.4%, 22.9%)
hsv(316.4, 17.2%, 25.1%)
cmyk(0%, 17.2%, 4.7%, 74.9%)
lab(23.58, 6.57, -3.17)
lch(23.58, 7.29, 334.24)
oklch(34.4%, 0.0205, 335.81)
hwb(316.4, 20.8%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (11.7:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3c3b3b · ΔE 7.9
Deuteranopia
#3c3d3b · ΔE 10.5
Tritanopia
#403a39 · ΔE 6.4
Achromatopsia
#383838 · ΔE 8.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #40353d;
bg-[#40353d]
Related colors
Frequently asked questions
#40353d (#40353d) is rgb(64, 53, 61) in RGB.
No, #40353d 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 #40353d, or check how it holds up for accessibility.