Color #502a58
A muted dark purple.
Conversions
#502a58
rgb(80, 42, 88)
hsl(289.6, 35.4%, 25.5%)
hsv(289.6, 52.3%, 34.5%)
cmyk(9.1%, 52.3%, 0%, 65.5%)
lab(23.89, 26.01, -20.56)
lch(23.89, 33.15, 321.67)
oklch(35.5%, 0.0892, 320.46)
hwb(289.6, 16.5%, 65.5%)
Harmony colors
Accessibility
White text reads better on this background (11.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#434250 · ΔE 15.7
Deuteranopia
#45474e · ΔE 19.4
Tritanopia
#4f4847 · ΔE 20.7
Achromatopsia
#393939 · ΔE 21.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #502a58;
bg-[#502a58]
Related colors
Frequently asked questions
#502a58 (#502a58) is rgb(80, 42, 88) in RGB.
No, #502a58 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 #502a58, or check how it holds up for accessibility.