Color #2f1828
A muted very dark magenta.
Conversions
#2f1828
rgb(47, 24, 40)
hsl(318.3, 32.4%, 13.9%)
hsv(318.3, 48.9%, 18.4%)
cmyk(0%, 48.9%, 14.9%, 81.6%)
lab(12.03, 14.45, -5.98)
lch(12.03, 15.64, 337.52)
oklch(24.7%, 0.0451, 339.24)
hwb(318.3, 9.4%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272725 · ΔE 16.7
Deuteranopia
#282924 · ΔE 19.8
Tritanopia
#2e2221 · ΔE 10.3
Achromatopsia
#202020 · ΔE 14.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f1828;
bg-[#2f1828]
Related colors
Frequently asked questions
#2f1828 (#2f1828) is rgb(47, 24, 40) in RGB.
No, #2f1828 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
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 #2f1828, or check how it holds up for accessibility.