Color #5f3852
A muted dark magenta.
Conversions
#5f3852
rgb(95, 56, 82)
hsl(320, 25.8%, 29.6%)
hsv(320, 41.1%, 37.3%)
cmyk(0%, 41.1%, 13.7%, 62.7%)
lab(29.08, 21.61, -8.45)
lch(29.08, 23.2, 338.64)
oklch(39.7%, 0.0671, 340.4)
hwb(320, 22%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (9.66:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#51514d · ΔE 22.5
Deuteranopia
#53564b · ΔE 28.8
Tritanopia
#5d4847 · ΔE 12.7
Achromatopsia
#454545 · ΔE 18.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f3852;
bg-[#5f3852]
Related colors
Frequently asked questions
#5f3852 (#5f3852) is rgb(95, 56, 82) in RGB.
No, #5f3852 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 #5f3852, or check how it holds up for accessibility.