Color #5c1f4f
A moderately saturated dark magenta.
Conversions
#5c1f4f
rgb(92, 31, 79)
hsl(312.8, 49.6%, 24.1%)
hsv(312.8, 66.3%, 36.1%)
cmyk(0%, 66.3%, 14.1%, 63.9%)
lab(23.07, 34.11, -15.71)
lch(23.07, 37.55, 335.27)
oklch(35.1%, 0.1087, 336.93)
hwb(312.8, 12.2%, 63.9%)
Harmony colors
Accessibility
White text reads better on this background (11.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#494947 · ΔE 25.6
Deuteranopia
#4c4f45 · ΔE 33
Tritanopia
#5a3f3e · ΔE 17.6
Achromatopsia
#373737 · ΔE 23.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5c1f4f;
bg-[#5c1f4f]
Related colors
Frequently asked questions
#5c1f4f (#5c1f4f) is rgb(92, 31, 79) in RGB.
No, #5c1f4f 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 #5c1f4f, or check how it holds up for accessibility.