Color #5f264e
A moderately saturated dark magenta.
Conversions
#5f264e
rgb(95, 38, 78)
hsl(317.9, 42.9%, 26.1%)
hsv(317.9, 60%, 37.3%)
cmyk(0%, 60%, 17.9%, 62.7%)
lab(24.86, 31.33, -12.23)
lch(24.86, 33.63, 338.68)
oklch(36.5%, 0.0983, 340.51)
hwb(317.9, 14.9%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (11.21:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4d4c47 · ΔE 26.4
Deuteranopia
#4f5345 · ΔE 34.5
Tritanopia
#5d403f · ΔE 15.6
Achromatopsia
#3b3b3b · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f264e;
bg-[#5f264e]
Related colors
Frequently asked questions
#5f264e (#5f264e) is rgb(95, 38, 78) in RGB.
No, #5f264e 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 #5f264e, or check how it holds up for accessibility.