Color #4d255b
A moderately saturated dark purple.
Conversions
#4d255b
rgb(77, 37, 91)
hsl(284.4, 42.2%, 25.1%)
hsv(284.4, 59.3%, 35.7%)
cmyk(15.4%, 59.3%, 0%, 64.3%)
lab(22.5, 28.72, -24.76)
lch(22.5, 37.92, 319.23)
oklch(34.4%, 0.1005, 316.57)
hwb(284.4, 14.5%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (12.13:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f52 · ΔE 15
Deuteranopia
#41444f · ΔE 18.5
Tritanopia
#4c4947 · ΔE 23.9
Achromatopsia
#363636 · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d255b;
bg-[#4d255b]
Related colors
Frequently asked questions
#4d255b (#4d255b) is rgb(77, 37, 91) in RGB.
No, #4d255b 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 #4d255b, or check how it holds up for accessibility.