Color #513e8b
A muted dark blue.
Conversions
#513e8b
rgb(81, 62, 139)
hsl(254.8, 38.3%, 39.4%)
hsv(254.8, 55.4%, 54.5%)
cmyk(41.7%, 55.4%, 0%, 45.5%)
lab(31.94, 27.62, -40.25)
lch(31.94, 48.82, 304.46)
oklch(42.5%, 0.123, 291.66)
hwb(254.8, 24.3%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (8.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#49497e · ΔE 5.9
Deuteranopia
#4b4c7a · ΔE 7.5
Tritanopia
#50726f · ΔE 28.8
Achromatopsia
#4b4b4b · ΔE 23.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #513e8b;
bg-[#513e8b]
Related colors
Frequently asked questions
#513e8b (#513e8b) is rgb(81, 62, 139) in RGB.
No, #513e8b 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 #513e8b, or check how it holds up for accessibility.