Color #2a1020
A moderately saturated very dark magenta.
Conversions
#2a1020
rgb(42, 16, 32)
hsl(323.1, 44.8%, 11.4%)
hsv(323.1, 61.9%, 16.5%)
cmyk(0%, 61.9%, 23.8%, 83.5%)
lab(8.72, 16.06, -5.11)
lch(8.72, 16.85, 342.35)
oklch(22%, 0.0497, 344.23)
hwb(323.1, 6.3%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (17.6:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#21211d · ΔE 19.2
Deuteranopia
#23241c · ΔE 22.7
Tritanopia
#291a1a · ΔE 9.3
Achromatopsia
#191919 · ΔE 15.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1020;
bg-[#2a1020]
Related colors
Frequently asked questions
#2a1020 (#2a1020) is rgb(42, 16, 32) in RGB.
No, #2a1020 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 #2a1020, or check how it holds up for accessibility.