Color #513784
A moderately saturated dark purple.
Conversions
#513784
rgb(81, 55, 132)
hsl(260.3, 41.2%, 36.7%)
hsv(260.3, 58.3%, 51.8%)
cmyk(38.6%, 58.3%, 0%, 48.2%)
lab(29.78, 29.91, -39.38)
lch(29.78, 49.45, 307.22)
oklch(40.7%, 0.1244, 295.99)
hwb(260.3, 21.6%, 48.2%)
Harmony colors
Accessibility
White text reads better on this background (9.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#474777 · ΔE 7.9
Deuteranopia
#494a73 · ΔE 9.4
Tritanopia
#506b68 · ΔE 27.9
Achromatopsia
#464646 · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #513784;
bg-[#513784]
Related colors
Frequently asked questions
#513784 (#513784) is rgb(81, 55, 132) in RGB.
No, #513784 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 #513784, or check how it holds up for accessibility.