Color #51255f
A moderately saturated dark purple.
Conversions
#51255f
rgb(81, 37, 95)
hsl(285.5, 43.9%, 25.9%)
hsv(285.5, 61.1%, 37.3%)
cmyk(14.7%, 61.1%, 0%, 62.7%)
lab(23.33, 30.86, -26.04)
lch(23.33, 40.38, 319.84)
oklch(35.2%, 0.1072, 317.31)
hwb(285.5, 14.5%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (11.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#424255 · ΔE 15.7
Deuteranopia
#444753 · ΔE 18.7
Tritanopia
#4f4c4a · ΔE 24.5
Achromatopsia
#383838 · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51255f;
bg-[#51255f]
Related colors
Frequently asked questions
#51255f (#51255f) is rgb(81, 37, 95) in RGB.
No, #51255f 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 #51255f, or check how it holds up for accessibility.