Color #4a1657
A moderately saturated dark purple.
Conversions
#4a1657
rgb(74, 22, 87)
hsl(288, 59.6%, 21.4%)
hsv(288, 74.7%, 34.1%)
cmyk(14.9%, 74.7%, 0%, 65.9%)
lab(18.88, 34.88, -27.9)
lch(18.88, 44.67, 321.34)
oklch(31.6%, 0.1189, 318.89)
hwb(288, 8.6%, 65.9%)
Harmony colors
Accessibility
White text reads better on this background (13.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3a3a4d · ΔE 16.8
Deuteranopia
#3c3f4a · ΔE 19.8
Tritanopia
#484442 · ΔE 25.2
Achromatopsia
#2e2e2e · ΔE 23.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a1657;
bg-[#4a1657]
Related colors
Frequently asked questions
#4a1657 (#4a1657) is rgb(74, 22, 87) in RGB.
No, #4a1657 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 #4a1657, or check how it holds up for accessibility.