Color #4e398e
A moderately saturated dark blue.
Conversions
#4e398e
rgb(78, 57, 142)
hsl(254.8, 42.7%, 39%)
hsv(254.8, 59.9%, 55.7%)
cmyk(45.1%, 59.9%, 0%, 44.3%)
lab(30.64, 30.91, -44.21)
lch(30.64, 53.94, 304.96)
oklch(41.5%, 0.1348, 290.72)
hwb(254.8, 22.4%, 44.3%)
Harmony colors
Accessibility
White text reads better on this background (9.13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464680 · ΔE 6.3
Deuteranopia
#47487c · ΔE 7.5
Tritanopia
#4d7370 · ΔE 30.1
Achromatopsia
#484848 · ΔE 24.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4e398e;
bg-[#4e398e]
Related colors
Frequently asked questions
#4e398e (#4e398e) is rgb(78, 57, 142) in RGB.
No, #4e398e 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 #4e398e, or check how it holds up for accessibility.