Color #4e237c
A moderately saturated dark purple.
Conversions
#4e237c
rgb(78, 35, 124)
hsl(269, 56%, 31.2%)
hsv(269, 71.8%, 48.6%)
cmyk(37.1%, 71.8%, 0%, 51.4%)
lab(24.57, 38.45, -42.79)
lch(24.57, 57.53, 311.94)
oklch(36.7%, 0.1434, 301.77)
hwb(269, 13.7%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (11.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f6e · ΔE 11.3
Deuteranopia
#42446b · ΔE 13.2
Tritanopia
#4c625f · ΔE 28.2
Achromatopsia
#3a3a3a · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e237c;
bg-[#4e237c]
Related colors
Frequently asked questions
#4e237c (#4e237c) is rgb(78, 35, 124) in RGB.
No, #4e237c 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 #4e237c, or check how it holds up for accessibility.