Color #513e71
A muted dark purple.
Conversions
#513e71
rgb(81, 62, 113)
hsl(262.4, 29.1%, 34.3%)
hsv(262.4, 45.1%, 44.3%)
cmyk(28.3%, 45.1%, 0%, 55.7%)
lab(30.37, 20.13, -26.52)
lch(30.37, 33.29, 307.2)
oklch(40.8%, 0.0855, 299.8)
hwb(262.4, 24.3%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (9.22:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#494967 · ΔE 7.9
Deuteranopia
#4b4c65 · ΔE 9.8
Tritanopia
#505f5d · ΔE 24.1
Achromatopsia
#474747 · ΔE 20.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #513e71;
bg-[#513e71]
Related colors
Frequently asked questions
#513e71 (#513e71) is rgb(81, 62, 113) in RGB.
No, #513e71 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 #513e71, or check how it holds up for accessibility.