Color #2a162c
A muted very dark magenta.
Conversions
#2a162c
rgb(42, 22, 44)
hsl(294.5, 33.3%, 12.9%)
hsv(294.5, 50%, 17.3%)
cmyk(4.5%, 50%, 0%, 82.7%)
lab(10.91, 14.69, -10.71)
lch(10.91, 18.18, 323.91)
oklch(23.8%, 0.0495, 323.71)
hwb(294.5, 8.6%, 82.7%)
Harmony colors
Accessibility
White text reads better on this background (16.81:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232328 · ΔE 13.4
Deuteranopia
#242527 · ΔE 15.5
Tritanopia
#292423 · ΔE 14.5
Achromatopsia
#1d1d1d · ΔE 15.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a162c;
bg-[#2a162c]
Related colors
Frequently asked questions
#2a162c (#2a162c) is rgb(42, 22, 44) in RGB.
No, #2a162c 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 #2a162c, or check how it holds up for accessibility.