Color #2f1726
A muted very dark magenta.
Conversions
#2f1726
rgb(47, 23, 38)
hsl(322.5, 34.3%, 13.7%)
hsv(322.5, 51.1%, 18.4%)
cmyk(0%, 51.1%, 19.1%, 81.6%)
lab(11.67, 14.71, -5.05)
lch(11.67, 15.55, 341.05)
oklch(24.4%, 0.0454, 342.84)
hwb(322.5, 9%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.52:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262623 · ΔE 17.5
Deuteranopia
#282922 · ΔE 21.1
Tritanopia
#2e2020 · ΔE 9
Achromatopsia
#1f1f1f · ΔE 14.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f1726;
bg-[#2f1726]
Related colors
Frequently asked questions
#2f1726 (#2f1726) is rgb(47, 23, 38) in RGB.
No, #2f1726 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 #2f1726, or check how it holds up for accessibility.