Color #4a1f3f
A moderately saturated dark magenta.
Conversions
#4a1f3f
rgb(74, 31, 63)
hsl(315.3, 41%, 20.6%)
hsv(315.3, 58.1%, 29%)
cmyk(0%, 58.1%, 14.9%, 71%)
lab(19.2, 25.19, -11.02)
lch(19.2, 27.5, 336.37)
oklch(31.4%, 0.0796, 338.08)
hwb(315.3, 12.2%, 71%)
Harmony colors
Accessibility
White text reads better on this background (13.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3c3b39 · ΔE 21.9
Deuteranopia
#3e4038 · ΔE 28.6
Tritanopia
#493433 · ΔE 14.6
Achromatopsia
#2f2f2f · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a1f3f;
bg-[#4a1f3f]
Related colors
Frequently asked questions
#4a1f3f (#4a1f3f) is rgb(74, 31, 63) in RGB.
No, #4a1f3f 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 #4a1f3f, or check how it holds up for accessibility.