Color #504189
A muted dark blue.
Conversions
#504189
rgb(80, 65, 137)
hsl(252.5, 35.6%, 39.6%)
hsv(252.5, 52.6%, 53.7%)
cmyk(41.6%, 52.6%, 0%, 46.3%)
lab(32.46, 24.87, -38.19)
lch(32.46, 45.57, 303.07)
oklch(42.8%, 0.1154, 290.22)
hwb(252.5, 25.5%, 46.3%)
Harmony colors
Accessibility
White text reads better on this background (8.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4a7c · ΔE 5.3
Deuteranopia
#4b4c79 · ΔE 6.5
Tritanopia
#4f716e · ΔE 28.3
Achromatopsia
#4c4c4c · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #504189;
bg-[#504189]
Related colors
Frequently asked questions
#504189 (#504189) is rgb(80, 65, 137) in RGB.
No, #504189 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 #504189, or check how it holds up for accessibility.