Color #5a264d
A moderately saturated dark magenta.
Conversions
#5a264d
rgb(90, 38, 77)
hsl(315, 40.6%, 25.1%)
hsv(315, 57.8%, 35.3%)
cmyk(0%, 57.8%, 14.4%, 64.7%)
lab(23.99, 29.45, -12.97)
lch(23.99, 32.18, 336.23)
oklch(35.7%, 0.0931, 337.92)
hwb(315, 14.9%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (11.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#494846 · ΔE 23.5
Deuteranopia
#4b4f44 · ΔE 32.8
Tritanopia
#583f3e · ΔE 15.8
Achromatopsia
#393939 · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a264d;
bg-[#5a264d]
Related colors
Frequently asked questions
#5a264d (#5a264d) is rgb(90, 38, 77) in RGB.
No, #5a264d 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 #5a264d, or check how it holds up for accessibility.