Color #2a1f2c
A muted very dark magenta.
Conversions
#2a1f2c
rgb(42, 31, 44)
hsl(290.8, 17.3%, 14.7%)
hsv(290.8, 29.5%, 17.3%)
cmyk(4.5%, 29.5%, 0%, 82.7%)
lab(13.56, 8.29, -6.65)
lch(13.56, 10.63, 321.26)
oklch(25.8%, 0.0287, 321.09)
hwb(290.8, 12.2%, 82.7%)
Harmony colors
Accessibility
White text reads better on this background (15.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262629 · ΔE 9.1
Deuteranopia
#262729 · ΔE 10.3
Tritanopia
#2a2726 · ΔE 10.2
Achromatopsia
#232323 · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1f2c;
bg-[#2a1f2c]
Related colors
Frequently asked questions
#2a1f2c (#2a1f2c) is rgb(42, 31, 44) in RGB.
No, #2a1f2c is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #2a1f2c, or check how it holds up for accessibility.