Color #3f2f71
A moderately saturated dark blue.
Conversions
#3f2f71
rgb(63, 47, 113)
hsl(254.5, 41.3%, 31.4%)
hsv(254.5, 58.4%, 44.3%)
cmyk(44.2%, 58.4%, 0%, 55.7%)
lab(24.58, 24.67, -35.85)
lch(24.58, 43.52, 304.53)
oklch(36%, 0.1093, 291.07)
hwb(254.5, 18.4%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (11.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#393966 · ΔE 5.7
Deuteranopia
#3a3b63 · ΔE 7
Tritanopia
#3e5c59 · ΔE 27.4
Achromatopsia
#3a3a3a · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3f2f71;
bg-[#3f2f71]
Related colors
Frequently asked questions
#3f2f71 (#3f2f71) is rgb(63, 47, 113) in RGB.
No, #3f2f71 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 #3f2f71, or check how it holds up for accessibility.