Color #2f1226
A moderately saturated very dark magenta.
Conversions
#2f1226
rgb(47, 18, 38)
hsl(318.6, 44.6%, 12.7%)
hsv(318.6, 61.7%, 18.4%)
cmyk(0%, 61.7%, 19.1%, 81.6%)
lab(10.39, 18, -7)
lch(10.39, 19.31, 338.75)
oklch(23.5%, 0.0563, 340.6)
hwb(318.6, 7.1%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252522 · ΔE 19.8
Deuteranopia
#272921 · ΔE 24.9
Tritanopia
#2e1f1e · ΔE 11.6
Achromatopsia
#1c1c1c · ΔE 17
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f1226;
bg-[#2f1226]
Related colors
Frequently asked questions
#2f1226 (#2f1226) is rgb(47, 18, 38) in RGB.
No, #2f1226 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 #2f1226, or check how it holds up for accessibility.