Color #5f4f7f
A muted medium purple.
Conversions
#5f4f7f
rgb(95, 79, 127)
hsl(260, 23.3%, 40.4%)
hsv(260, 37.8%, 49.8%)
cmyk(25.2%, 37.8%, 0%, 50.2%)
lab(37.04, 17.58, -24.7)
lch(37.04, 30.32, 305.44)
oklch(46.4%, 0.0782, 298.66)
hwb(260, 31%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (7.21:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#595876 · ΔE 6.8
Deuteranopia
#595b73 · ΔE 9.4
Tritanopia
#5e6d6c · ΔE 23.2
Achromatopsia
#575757 · ΔE 19.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f4f7f;
bg-[#5f4f7f]
Related colors
Frequently asked questions
#5f4f7f (#5f4f7f) is rgb(95, 79, 127) in RGB.
No, #5f4f7f 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 #5f4f7f, or check how it holds up for accessibility.