Color #4a2d52
A muted dark purple.
Conversions
#4a2d52
rgb(74, 45, 82)
hsl(287, 29.1%, 24.9%)
hsv(287, 45.1%, 32.2%)
cmyk(9.8%, 45.1%, 0%, 67.8%)
lab(23.48, 20.68, -17.29)
lch(23.48, 26.96, 320.1)
oklch(34.9%, 0.0722, 318.76)
hwb(287, 17.6%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (11.74:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f4b · ΔE 14.5
Deuteranopia
#414349 · ΔE 17.8
Tritanopia
#494543 · ΔE 19.9
Achromatopsia
#383838 · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a2d52;
bg-[#4a2d52]
Related colors
Frequently asked questions
#4a2d52 (#4a2d52) is rgb(74, 45, 82) in RGB.
No, #4a2d52 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 #4a2d52, or check how it holds up for accessibility.