Color #512f64
A muted dark purple.
Conversions
#512f64
rgb(81, 47, 100)
hsl(278.5, 36.1%, 28.8%)
hsv(278.5, 53%, 39.2%)
cmyk(19%, 53%, 0%, 60.8%)
lab(25.87, 26.17, -25.29)
lch(25.87, 36.39, 315.98)
oklch(37.2%, 0.0952, 312.23)
hwb(278.5, 18.4%, 60.8%)
Harmony colors
Accessibility
White text reads better on this background (10.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#45445b · ΔE 12.5
Deuteranopia
#464958 · ΔE 16.3
Tritanopia
#505250 · ΔE 23.9
Achromatopsia
#3d3d3d · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #512f64;
bg-[#512f64]
Related colors
Frequently asked questions
#512f64 (#512f64) is rgb(81, 47, 100) in RGB.
No, #512f64 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 #512f64, or check how it holds up for accessibility.