Color #3d3151
A muted dark purple.
Conversions
#3d3151
rgb(61, 49, 81)
hsl(262.5, 24.6%, 25.5%)
hsv(262.5, 39.5%, 31.8%)
cmyk(24.7%, 39.5%, 0%, 68.2%)
lab(22.94, 13.14, -17.58)
lch(22.94, 21.95, 306.78)
oklch(34.1%, 0.0567, 300.63)
hwb(262.5, 19.2%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (11.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#38384b · ΔE 7.4
Deuteranopia
#393a49 · ΔE 9.4
Tritanopia
#3c4544 · ΔE 20.2
Achromatopsia
#373737 · ΔE 16.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3d3151;
bg-[#3d3151]
Related colors
Frequently asked questions
#3d3151 (#3d3151) is rgb(61, 49, 81) in RGB.
No, #3d3151 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 #3d3151, or check how it holds up for accessibility.