Color #2f122b
A moderately saturated very dark magenta.
Conversions
#2f122b
rgb(47, 18, 43)
hsl(308.3, 44.6%, 12.7%)
hsv(308.3, 61.7%, 18.4%)
cmyk(0%, 61.7%, 8.5%, 81.6%)
lab(10.64, 19.04, -10.32)
lch(10.64, 21.66, 331.54)
oklch(23.8%, 0.0613, 332.72)
hwb(308.3, 7.1%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.9:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252526 · ΔE 17.6
Deuteranopia
#272925 · ΔE 23.3
Tritanopia
#2e2221 · ΔE 14
Achromatopsia
#1d1d1d · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2f122b;
bg-[#2f122b]
Related colors
Frequently asked questions
#2f122b (#2f122b) is rgb(47, 18, 43) in RGB.
No, #2f122b 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 #2f122b, or check how it holds up for accessibility.