Color #3d1b5e
A moderately saturated dark purple.
Conversions
#3d1b5e
rgb(61, 27, 94)
hsl(270.4, 55.4%, 23.7%)
hsv(270.4, 71.3%, 36.9%)
cmyk(35.1%, 71.3%, 0%, 63.1%)
lab(18.29, 30.84, -33.62)
lch(18.29, 45.62, 312.53)
oklch(30.9%, 0.1147, 303.62)
hwb(270.4, 10.6%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (13.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313153 · ΔE 10.7
Deuteranopia
#333551 · ΔE 12.6
Tritanopia
#3c4a48 · ΔE 24.7
Achromatopsia
#2d2d2d · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3d1b5e;
bg-[#3d1b5e]
Related colors
Frequently asked questions
#3d1b5e (#3d1b5e) is rgb(61, 27, 94) in RGB.
No, #3d1b5e 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 #3d1b5e, or check how it holds up for accessibility.