Color #2d1227
A moderately saturated very dark magenta.
Conversions
#2d1227
rgb(45, 18, 39)
hsl(313.3, 42.9%, 12.4%)
hsv(313.3, 60%, 17.6%)
cmyk(0%, 60%, 13.3%, 82.4%)
lab(10.08, 17.41, -8.24)
lch(10.08, 19.26, 334.67)
oklch(23.2%, 0.0553, 336.31)
hwb(313.3, 7.1%, 82.4%)
Harmony colors
Accessibility
White text reads better on this background (17.11:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#242423 · ΔE 18
Deuteranopia
#252722 · ΔE 22.8
Tritanopia
#2c201f · ΔE 12.6
Achromatopsia
#1c1c1c · ΔE 16.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1227;
bg-[#2d1227]
Related colors
Frequently asked questions
#2d1227 (#2d1227) is rgb(45, 18, 39) in RGB.
No, #2d1227 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 #2d1227, or check how it holds up for accessibility.