Color #2f162e
A muted very dark magenta.
Conversions
#2f162e
rgb(47, 22, 46)
hsl(302.4, 36.2%, 13.5%)
hsv(302.4, 53.2%, 18.4%)
cmyk(0%, 53.2%, 2.1%, 81.6%)
lab(11.79, 17.13, -10.74)
lch(11.79, 20.22, 327.91)
oklch(24.7%, 0.0562, 328.55)
hwb(302.4, 8.6%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262629 · ΔE 15.8
Deuteranopia
#282928 · ΔE 19.1
Tritanopia
#2e2625 · ΔE 14.6
Achromatopsia
#1f1f1f · ΔE 17
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f162e;
bg-[#2f162e]
Related colors
Frequently asked questions
#2f162e (#2f162e) is rgb(47, 22, 46) in RGB.
No, #2f162e 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 #2f162e, or check how it holds up for accessibility.