Color #2d1331
A moderately saturated very dark magenta.
Conversions
#2d1331
rgb(45, 19, 49)
hsl(292, 44.1%, 13.3%)
hsv(292, 61.2%, 19.2%)
cmyk(8.2%, 61.2%, 0%, 80.8%)
lab(10.89, 19.07, -14.36)
lch(10.89, 23.87, 323.02)
oklch(24%, 0.0647, 322.16)
hwb(292, 7.5%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (16.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24242c · ΔE 14.9
Deuteranopia
#25272a · ΔE 18
Tritanopia
#2c2726 · ΔE 17.4
Achromatopsia
#1d1d1d · ΔE 18.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1331;
bg-[#2d1331]
Related colors
Frequently asked questions
#2d1331 (#2d1331) is rgb(45, 19, 49) in RGB.
No, #2d1331 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 #2d1331, or check how it holds up for accessibility.