Color #51416e
A muted dark purple.
Conversions
#51416e
rgb(81, 65, 110)
hsl(261.3, 25.7%, 34.3%)
hsv(261.3, 40.9%, 43.1%)
cmyk(26.4%, 40.9%, 0%, 56.9%)
lab(31.01, 17.38, -23.62)
lch(31.01, 29.33, 306.35)
oklch(41.2%, 0.0755, 299.42)
hwb(261.3, 25.5%, 56.9%)
Harmony colors
Accessibility
White text reads better on this background (9.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4a65 · ΔE 7.3
Deuteranopia
#4b4d63 · ΔE 9.8
Tritanopia
#505e5c · ΔE 23.5
Achromatopsia
#494949 · ΔE 19.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51416e;
bg-[#51416e]
Related colors
Frequently asked questions
#51416e (#51416e) is rgb(81, 65, 110) in RGB.
No, #51416e 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 #51416e, or check how it holds up for accessibility.