Color #271b24
A muted very dark magenta.
Conversions
#271b24
rgb(39, 27, 36)
hsl(315, 18.2%, 12.9%)
hsv(315, 30.8%, 15.3%)
cmyk(0%, 30.8%, 7.7%, 84.7%)
lab(11.57, 7.88, -3.85)
lch(11.57, 8.77, 333.96)
oklch(24.1%, 0.0247, 335.61)
hwb(315, 10.6%, 84.7%)
Harmony colors
Accessibility
White text reads better on this background (16.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#222222 · ΔE 9.8
Deuteranopia
#232422 · ΔE 12
Tritanopia
#262020 · ΔE 6.8
Achromatopsia
#1f1f1f · ΔE 9.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #271b24;
bg-[#271b24]
Related colors
Frequently asked questions
#271b24 (#271b24) is rgb(39, 27, 36) in RGB.
No, #271b24 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 #271b24, or check how it holds up for accessibility.