Color #4a3871
A muted dark blue.
Conversions
#4a3871
rgb(74, 56, 113)
hsl(258.9, 33.7%, 33.1%)
hsv(258.9, 50.4%, 44.3%)
cmyk(34.5%, 50.4%, 0%, 55.7%)
lab(28.05, 21.86, -30.24)
lch(28.05, 37.31, 305.86)
oklch(38.9%, 0.095, 296.24)
hwb(258.9, 22%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (10.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#434367 · ΔE 6.8
Deuteranopia
#444564 · ΔE 8.4
Tritanopia
#495e5b · ΔE 25.9
Achromatopsia
#424242 · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a3871;
bg-[#4a3871]
Related colors
Frequently asked questions
#4a3871 (#4a3871) is rgb(74, 56, 113) in RGB.
No, #4a3871 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 #4a3871, or check how it holds up for accessibility.