Color #5c3d98
A moderately saturated medium purple.
Conversions
#5c3d98
rgb(92, 61, 152)
hsl(260.4, 42.7%, 41.8%)
hsv(260.4, 59.9%, 59.6%)
cmyk(39.5%, 59.9%, 0%, 40.4%)
lab(33.73, 34.71, -45.26)
lch(33.73, 57.04, 307.48)
oklch(44.3%, 0.1429, 295.72)
hwb(260.4, 23.9%, 40.4%)
Harmony colors
Accessibility
White text reads better on this background (8.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#505089 · ΔE 8.5
Deuteranopia
#525485 · ΔE 10.1
Tritanopia
#5b7b78 · ΔE 30
Achromatopsia
#4f4f4f · ΔE 25.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5c3d98;
bg-[#5c3d98]
Related colors
Frequently asked questions
#5c3d98 (#5c3d98) is rgb(92, 61, 152) in RGB.
No, #5c3d98 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 #5c3d98, or check how it holds up for accessibility.