Color #3d1f4b
A moderately saturated dark purple.
Conversions
#3d1f4b
rgb(61, 31, 75)
hsl(280.9, 41.5%, 20.8%)
hsv(280.9, 58.7%, 29.4%)
cmyk(18.7%, 58.7%, 0%, 70.6%)
lab(17.83, 23.4, -21.56)
lch(17.83, 31.82, 317.34)
oklch(30.1%, 0.0836, 313.93)
hwb(280.9, 12.2%, 70.6%)
Harmony colors
Accessibility
White text reads better on this background (14.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#323243 · ΔE 13.5
Deuteranopia
#343641 · ΔE 16.6
Tritanopia
#3c3c3b · ΔE 22.5
Achromatopsia
#2c2c2c · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3d1f4b;
bg-[#3d1f4b]
Related colors
Frequently asked questions
#3d1f4b (#3d1f4b) is rgb(61, 31, 75) in RGB.
No, #3d1f4b 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 #3d1f4b, or check how it holds up for accessibility.