Color #2a1d2d
A muted very dark purple.
Conversions
#2a1d2d
rgb(42, 29, 45)
hsl(288.8, 21.6%, 14.5%)
hsv(288.8, 35.6%, 17.6%)
cmyk(6.7%, 35.6%, 0%, 82.4%)
lab(12.99, 9.98, -8.23)
lch(12.99, 12.94, 320.49)
oklch(25.4%, 0.0348, 319.9)
hwb(288.8, 11.4%, 82.4%)
Harmony colors
Accessibility
White text reads better on this background (16.01:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#25252a · ΔE 9.8
Deuteranopia
#262729 · ΔE 12
Tritanopia
#292726 · ΔE 12.3
Achromatopsia
#222222 · ΔE 12.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1d2d;
bg-[#2a1d2d]
Related colors
Frequently asked questions
#2a1d2d (#2a1d2d) is rgb(42, 29, 45) in RGB.
No, #2a1d2d 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 #2a1d2d, or check how it holds up for accessibility.