Color #4b2e78
A moderately saturated dark purple.
Conversions
#4b2e78
rgb(75, 46, 120)
hsl(263.5, 44.6%, 32.5%)
hsv(263.5, 61.7%, 47.1%)
cmyk(37.5%, 61.7%, 0%, 52.9%)
lab(26.17, 30.44, -37.68)
lch(26.17, 48.44, 308.93)
oklch(37.7%, 0.1217, 298.42)
hwb(263.5, 18%, 52.9%)
Harmony colors
Accessibility
White text reads better on this background (10.71:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#40406c · ΔE 8.7
Deuteranopia
#424468 · ΔE 10.7
Tritanopia
#4a615e · ΔE 27.2
Achromatopsia
#3e3e3e · ΔE 23.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4b2e78;
bg-[#4b2e78]
Related colors
Frequently asked questions
#4b2e78 (#4b2e78) is rgb(75, 46, 120) in RGB.
No, #4b2e78 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 #4b2e78, or check how it holds up for accessibility.