Color #4e255e
A moderately saturated dark purple.
Conversions
#4e255e
rgb(78, 37, 94)
hsl(283.2, 43.5%, 25.7%)
hsv(283.2, 60.6%, 36.9%)
cmyk(17%, 60.6%, 0%, 63.1%)
lab(22.83, 29.74, -26.21)
lch(22.83, 39.64, 318.61)
oklch(34.7%, 0.1045, 315.54)
hwb(283.2, 14.5%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#404054 · ΔE 14.9
Deuteranopia
#424552 · ΔE 18
Tritanopia
#4d4c4a · ΔE 25.2
Achromatopsia
#363636 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e255e;
bg-[#4e255e]
Related colors
Frequently asked questions
#4e255e (#4e255e) is rgb(78, 37, 94) in RGB.
No, #4e255e 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 #4e255e, or check how it holds up for accessibility.