Color #4e1c5a
A moderately saturated dark purple.
Conversions
#4e1c5a
rgb(78, 28, 90)
hsl(288.4, 52.5%, 23.1%)
hsv(288.4, 68.9%, 35.3%)
cmyk(13.3%, 68.9%, 0%, 64.7%)
lab(20.78, 33.69, -26.82)
lch(20.78, 43.06, 321.48)
oklch(33.2%, 0.115, 319.37)
hwb(288.4, 11%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (12.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e50 · ΔE 16.8
Deuteranopia
#40434d · ΔE 19.9
Tritanopia
#4c4745 · ΔE 24.5
Achromatopsia
#323232 · ΔE 23.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e1c5a;
bg-[#4e1c5a]
Related colors
Frequently asked questions
#4e1c5a (#4e1c5a) is rgb(78, 28, 90) in RGB.
No, #4e1c5a 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 #4e1c5a, or check how it holds up for accessibility.