Color #5c2a68
A moderately saturated dark purple.
Conversions
#5c2a68
rgb(92, 42, 104)
hsl(288.4, 42.5%, 28.6%)
hsv(288.4, 59.6%, 40.8%)
cmyk(11.5%, 59.6%, 0%, 59.2%)
lab(26.54, 33.37, -26.73)
lch(26.54, 42.76, 321.3)
oklch(38.1%, 0.1146, 319.5)
hwb(288.4, 16.5%, 59.2%)
Harmony colors
Accessibility
White text reads better on this background (10.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4b5d · ΔE 17
Deuteranopia
#4e515b · ΔE 20.1
Tritanopia
#5a5452 · ΔE 24.4
Achromatopsia
#3f3f3f · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5c2a68;
bg-[#5c2a68]
Related colors
Frequently asked questions
#5c2a68 (#5c2a68) is rgb(92, 42, 104) in RGB.
No, #5c2a68 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #5c2a68, or check how it holds up for accessibility.