Color #51275a
A muted dark purple.
Conversions
#51275a
rgb(81, 39, 90)
hsl(289.4, 39.5%, 25.3%)
hsv(289.4, 56.7%, 35.3%)
cmyk(10%, 56.7%, 0%, 64.7%)
lab(23.47, 28.57, -22.54)
lch(23.47, 36.39, 321.73)
oklch(35.2%, 0.0979, 320.31)
hwb(289.4, 15.3%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (11.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#434251 · ΔE 16.2
Deuteranopia
#45474f · ΔE 19.7
Tritanopia
#4f4947 · ΔE 22.5
Achromatopsia
#383838 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51275a;
bg-[#51275a]
Related colors
Frequently asked questions
#51275a (#51275a) is rgb(81, 39, 90) in RGB.
No, #51275a 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 #51275a, or check how it holds up for accessibility.