Color #2f1927
A muted very dark magenta.
Conversions
#2f1927
rgb(47, 25, 39)
hsl(321.8, 30.6%, 14.1%)
hsv(321.8, 46.8%, 18.4%)
cmyk(0%, 46.8%, 17%, 81.6%)
lab(12.26, 13.55, -4.9)
lch(12.26, 14.41, 340.12)
oklch(24.9%, 0.0419, 341.91)
hwb(321.8, 9.8%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272724 · ΔE 16.7
Deuteranopia
#282a23 · ΔE 20.9
Tritanopia
#2e2221 · ΔE 9.4
Achromatopsia
#202020 · ΔE 14.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f1927;
bg-[#2f1927]
Related colors
Frequently asked questions
#2f1927 (#2f1927) is rgb(47, 25, 39) in RGB.
No, #2f1927 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 #2f1927, or check how it holds up for accessibility.