Color #3c3840
A nearly neutral, gray-leaning dark purple.
Conversions
#3c3840
rgb(60, 56, 64)
hsl(270, 6.7%, 23.5%)
hsv(270, 12.5%, 25.1%)
cmyk(6.2%, 12.5%, 0%, 74.9%)
lab(24.19, 3.57, -4.33)
lch(24.19, 5.61, 309.5)
oklch(34.8%, 0.0147, 308.11)
hwb(270, 22%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (11.46:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3a3e · ΔE 3.7
Deuteranopia
#3b3b3e · ΔE 4.2
Tritanopia
#3c3d3c · ΔE 7.1
Achromatopsia
#393939 · ΔE 6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3c3840;
bg-[#3c3840]
Related colors
Frequently asked questions
#3c3840 (#3c3840) is rgb(60, 56, 64) in RGB.
No, #3c3840 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 #3c3840, or check how it holds up for accessibility.