Color #3e2d71
A moderately saturated dark blue.
Conversions
#3e2d71
rgb(62, 45, 113)
hsl(255, 43%, 31%)
hsv(255, 60.2%, 44.3%)
cmyk(45.1%, 60.2%, 0%, 55.7%)
lab(23.98, 25.72, -36.83)
lch(23.98, 44.92, 304.93)
oklch(35.5%, 0.1124, 291.11)
hwb(255, 17.6%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (11.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#373766 · ΔE 5.7
Deuteranopia
#383963 · ΔE 6.9
Tritanopia
#3d5b59 · ΔE 26.9
Achromatopsia
#393939 · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3e2d71;
bg-[#3e2d71]
Related colors
Frequently asked questions
#3e2d71 (#3e2d71) is rgb(62, 45, 113) in RGB.
No, #3e2d71 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 #3e2d71, or check how it holds up for accessibility.