Color #2d1b28
A muted very dark magenta.
Conversions
#2d1b28
rgb(45, 27, 40)
hsl(316.7, 25%, 14.1%)
hsv(316.7, 40%, 17.6%)
cmyk(0%, 40%, 11.1%, 82.4%)
lab(12.58, 11.5, -5.19)
lch(12.58, 12.62, 335.71)
oklch(25.1%, 0.036, 337.43)
hwb(316.7, 10.6%, 82.4%)
Harmony colors
Accessibility
White text reads better on this background (16.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262625 · ΔE 13.7
Deuteranopia
#272825 · ΔE 16
Tritanopia
#2c2322 · ΔE 9.4
Achromatopsia
#212121 · ΔE 12.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1b28;
bg-[#2d1b28]
Related colors
Frequently asked questions
#2d1b28 (#2d1b28) is rgb(45, 27, 40) in RGB.
No, #2d1b28 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 #2d1b28, or check how it holds up for accessibility.