Color #2a1f2a
A muted very dark magenta.
Conversions
#2a1f2a
rgb(42, 31, 42)
hsl(300, 15.1%, 14.3%)
hsv(300, 26.2%, 16.5%)
cmyk(0%, 26.2%, 0%, 83.5%)
lab(13.47, 7.79, -5.33)
lch(13.47, 9.44, 325.62)
oklch(25.7%, 0.0258, 326.37)
hwb(300, 12.2%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (15.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262628 · ΔE 9
Deuteranopia
#262727 · ΔE 10.7
Tritanopia
#2a2625 · ΔE 8.9
Achromatopsia
#222222 · ΔE 10
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1f2a;
bg-[#2a1f2a]
Related colors
Frequently asked questions
#2a1f2a (#2a1f2a) is rgb(42, 31, 42) in RGB.
No, #2a1f2a 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 #2a1f2a, or check how it holds up for accessibility.