Color #513c8d
A moderately saturated dark blue.
Conversions
#513c8d
rgb(81, 60, 141)
hsl(255.6, 40.3%, 39.4%)
hsv(255.6, 57.4%, 55.3%)
cmyk(42.6%, 57.4%, 0%, 44.7%)
lab(31.59, 29.47, -42.05)
lch(31.59, 51.35, 305.02)
oklch(42.3%, 0.1289, 291.91)
hwb(255.6, 23.5%, 44.7%)
Harmony colors
Accessibility
White text reads better on this background (8.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#49497f · ΔE 6.6
Deuteranopia
#4a4b7c · ΔE 7.6
Tritanopia
#507370 · ΔE 29.3
Achromatopsia
#4a4a4a · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #513c8d;
bg-[#513c8d]
Related colors
Frequently asked questions
#513c8d (#513c8d) is rgb(81, 60, 141) in RGB.
No, #513c8d 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 #513c8d, or check how it holds up for accessibility.