Color #2f1f31
A muted very dark magenta.
Conversions
#2f1f31
rgb(47, 31, 49)
hsl(293.3, 22.5%, 15.7%)
hsv(293.3, 36.7%, 19.2%)
cmyk(4.1%, 36.7%, 0%, 80.8%)
lab(14.44, 11.67, -8.84)
lch(14.44, 14.64, 322.86)
oklch(26.7%, 0.0397, 322.78)
hwb(293.3, 12.2%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (15.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#29292d · ΔE 11.7
Deuteranopia
#2a2b2c · ΔE 13.8
Tritanopia
#2e2a29 · ΔE 12.7
Achromatopsia
#242424 · ΔE 13.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f1f31;
bg-[#2f1f31]
Related colors
Frequently asked questions
#2f1f31 (#2f1f31) is rgb(47, 31, 49) in RGB.
No, #2f1f31 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 #2f1f31, or check how it holds up for accessibility.