Color #3a1b2f
A muted very dark magenta.
Conversions
#3a1b2f
rgb(58, 27, 47)
hsl(321.3, 36.5%, 16.7%)
hsv(321.3, 53.4%, 22.7%)
cmyk(0%, 53.4%, 19%, 77.3%)
lab(14.89, 18.46, -6.56)
lch(14.89, 19.59, 340.44)
oklch(27.4%, 0.0572, 342.29)
hwb(321.3, 10.6%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (15.24:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f2b · ΔE 20.7
Deuteranopia
#31332a · ΔE 25.5
Tritanopia
#392827 · ΔE 11.2
Achromatopsia
#252525 · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a1b2f;
bg-[#3a1b2f]
Related colors
Frequently asked questions
#3a1b2f (#3a1b2f) is rgb(58, 27, 47) in RGB.
No, #3a1b2f 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 #3a1b2f, or check how it holds up for accessibility.