Color #50127f
A vivid, highly saturated dark purple.
Conversions
#50127f
rgb(80, 18, 127)
hsl(274.1, 75.2%, 28.4%)
hsv(274.1, 85.8%, 49.8%)
cmyk(37%, 85.8%, 0%, 50.2%)
lab(22.55, 46.9, -47.97)
lch(22.55, 67.09, 314.35)
oklch(35.4%, 0.1658, 304.36)
hwb(274.1, 7.1%, 50.2%)
Harmony colors
Accessibility
White text reads better on this background (12.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e70 · ΔE 13.8
Deuteranopia
#41446c · ΔE 16.2
Tritanopia
#4e625f · ΔE 29.3
Achromatopsia
#363636 · ΔE 26.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #50127f;
bg-[#50127f]
Related colors
Frequently asked questions
#50127f (#50127f) is rgb(80, 18, 127) in RGB.
No, #50127f 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 #50127f, or check how it holds up for accessibility.