Color #5a3f60
A muted dark purple.
Conversions
#5a3f60
rgb(90, 63, 96)
hsl(289.1, 20.8%, 31.2%)
hsv(289.1, 34.4%, 37.6%)
cmyk(6.2%, 34.4%, 0%, 62.4%)
lab(30.82, 18.29, -14.92)
lch(30.82, 23.6, 320.79)
oklch(41.1%, 0.0635, 320.17)
hwb(289.1, 24.7%, 62.4%)
Harmony colors
Accessibility
White text reads better on this background (9.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#504f59 · ΔE 13.8
Deuteranopia
#515358 · ΔE 17.2
Tritanopia
#595452 · ΔE 18.2
Achromatopsia
#494949 · ΔE 18.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a3f60;
bg-[#5a3f60]
Related colors
Frequently asked questions
#5a3f60 (#5a3f60) is rgb(90, 63, 96) in RGB.
No, #5a3f60 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 #5a3f60, or check how it holds up for accessibility.