Color #2f1229
A moderately saturated very dark magenta.
Conversions
#2f1229
rgb(47, 18, 41)
hsl(312.4, 44.6%, 12.7%)
hsv(312.4, 61.7%, 18.4%)
cmyk(0%, 61.7%, 12.8%, 81.6%)
lab(10.54, 18.62, -9)
lch(10.54, 20.68, 334.2)
oklch(23.6%, 0.0592, 335.77)
hwb(312.4, 7.1%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252525 · ΔE 17.7
Deuteranopia
#272924 · ΔE 23.6
Tritanopia
#2e2120 · ΔE 13.1
Achromatopsia
#1d1d1d · ΔE 17.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f1229;
bg-[#2f1229]
Related colors
Frequently asked questions
#2f1229 (#2f1229) is rgb(47, 18, 41) in RGB.
No, #2f1229 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 #2f1229, or check how it holds up for accessibility.