Color #2a242b
A nearly neutral, gray-leaning very dark magenta.
Conversions
#2a242b
rgb(42, 36, 43)
hsl(291.4, 8.9%, 15.5%)
hsv(291.4, 16.3%, 16.9%)
cmyk(2.3%, 16.3%, 0%, 83.1%)
lab(15.11, 4.45, -3.59)
lch(15.11, 5.72, 321.11)
oklch(27%, 0.0154, 321.34)
hwb(291.4, 14.1%, 83.1%)
Harmony colors
Accessibility
White text reads better on this background (15.15:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282729 · ΔE 4.8
Deuteranopia
#282829 · ΔE 5.9
Tritanopia
#2a2828 · ΔE 5.6
Achromatopsia
#262626 · ΔE 6.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a242b;
bg-[#2a242b]
Related colors
Frequently asked questions
#2a242b (#2a242b) is rgb(42, 36, 43) in RGB.
No, #2a242b 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 #2a242b, or check how it holds up for accessibility.