Color #2f1b26
A muted very dark magenta.
Conversions
#2f1b26
rgb(47, 27, 38)
hsl(327, 27%, 14.5%)
hsv(327, 42.6%, 18.4%)
cmyk(0%, 42.6%, 19.1%, 81.6%)
lab(12.79, 11.95, -3.38)
lch(12.79, 12.42, 344.21)
oklch(25.3%, 0.0364, 345.85)
hwb(327, 10.6%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282724 · ΔE 14.5
Deuteranopia
#292a23 · ΔE 18.6
Tritanopia
#2e2221 · ΔE 7.9
Achromatopsia
#212121 · ΔE 12.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f1b26;
bg-[#2f1b26]
Related colors
Frequently asked questions
#2f1b26 (#2f1b26) is rgb(47, 27, 38) in RGB.
No, #2f1b26 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 #2f1b26, or check how it holds up for accessibility.