Color #4c317e
A moderately saturated dark purple.
Conversions
#4c317e
rgb(76, 49, 126)
hsl(261, 44%, 34.3%)
hsv(261, 61.1%, 49.4%)
cmyk(39.7%, 61.1%, 0%, 50.6%)
lab(27.41, 30.59, -39.48)
lch(27.41, 49.94, 307.77)
oklch(38.7%, 0.1251, 296.24)
hwb(261, 19.2%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (10.25:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#424271 · ΔE 8.2
Deuteranopia
#43456e · ΔE 9.7
Tritanopia
#4b6663 · ΔE 28
Achromatopsia
#414141 · ΔE 24.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4c317e;
bg-[#4c317e]
Related colors
Frequently asked questions
#4c317e (#4c317e) is rgb(76, 49, 126) in RGB.
No, #4c317e 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 #4c317e, or check how it holds up for accessibility.