Color #513f72
A muted dark purple.
Conversions
#513f72
rgb(81, 63, 114)
hsl(261.2, 28.8%, 34.7%)
hsv(261.2, 44.7%, 44.7%)
cmyk(28.9%, 44.7%, 0%, 55.3%)
lab(30.69, 19.77, -26.65)
lch(30.69, 33.18, 306.57)
oklch(41%, 0.0851, 298.88)
hwb(261.2, 24.7%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (9.12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4a68 · ΔE 7.7
Deuteranopia
#4b4c66 · ΔE 9.2
Tritanopia
#50605e · ΔE 24.2
Achromatopsia
#484848 · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #513f72;
bg-[#513f72]
Related colors
Frequently asked questions
#513f72 (#513f72) is rgb(81, 63, 114) in RGB.
No, #513f72 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 #513f72, or check how it holds up for accessibility.