Color #2b172f
A muted very dark magenta.
Conversions
#2b172f
rgb(43, 23, 47)
hsl(290, 34.3%, 13.7%)
hsv(290, 51.1%, 18.4%)
cmyk(8.5%, 51.1%, 0%, 81.6%)
lab(11.5, 15.15, -11.98)
lch(11.5, 19.31, 321.66)
oklch(24.3%, 0.052, 320.77)
hwb(290, 9%, 81.6%)
Harmony colors
Accessibility
White text reads better on this background (16.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24242a · ΔE 13.4
Deuteranopia
#252629 · ΔE 15.4
Tritanopia
#2a2626 · ΔE 14.8
Achromatopsia
#1e1e1e · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b172f;
bg-[#2b172f]
Related colors
Frequently asked questions
#2b172f (#2b172f) is rgb(43, 23, 47) in RGB.
No, #2b172f 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 #2b172f, or check how it holds up for accessibility.