Color #3f2e71
A moderately saturated dark blue.
Conversions
#3f2e71
rgb(63, 46, 113)
hsl(255.2, 42.1%, 31.2%)
hsv(255.2, 59.3%, 44.3%)
cmyk(44.2%, 59.3%, 0%, 55.7%)
lab(24.33, 25.32, -36.25)
lch(24.33, 44.22, 304.93)
oklch(35.8%, 0.1109, 291.48)
hwb(255.2, 18%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (11.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#383866 · ΔE 5.8
Deuteranopia
#393a63 · ΔE 7
Tritanopia
#3e5b59 · ΔE 26.7
Achromatopsia
#3a3a3a · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3f2e71;
bg-[#3f2e71]
Related colors
Frequently asked questions
#3f2e71 (#3f2e71) is rgb(63, 46, 113) in RGB.
No, #3f2e71 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 #3f2e71, or check how it holds up for accessibility.