Color #281b22
A muted very dark magenta.
Conversions
#281b22
rgb(40, 27, 34)
hsl(327.7, 19.4%, 13.1%)
hsv(327.7, 32.5%, 15.7%)
cmyk(0%, 32.5%, 15%, 84.3%)
lab(11.62, 7.88, -2.28)
lch(11.62, 8.2, 343.86)
oklch(24.1%, 0.0239, 345.44)
hwb(327.7, 10.6%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (16.53:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#232320 · ΔE 11.6
Deuteranopia
#242520 · ΔE 13.6
Tritanopia
#271f1f · ΔE 5.4
Achromatopsia
#1f1f1f · ΔE 9.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #281b22;
bg-[#281b22]
Related colors
Frequently asked questions
#281b22 (#281b22) is rgb(40, 27, 34) in RGB.
No, #281b22 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 #281b22, or check how it holds up for accessibility.