Color #2a0823
A moderately saturated very dark magenta.
Conversions
#2a0823
rgb(42, 8, 35)
hsl(312.4, 68%, 9.8%)
hsv(312.4, 81%, 16.5%)
cmyk(0%, 81%, 16.7%, 83.5%)
lab(7.11, 21.32, -9.85)
lch(7.11, 23.49, 335.2)
oklch(20.8%, 0.0685, 336.88)
hwb(312.4, 3.1%, 83.5%)
Harmony colors
Accessibility
White text reads better on this background (18.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#201f1e · ΔE 19.3
Deuteranopia
#21231d · ΔE 25.9
Tritanopia
#291a19 · ΔE 13.8
Achromatopsia
#161616 · ΔE 18.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a0823;
bg-[#2a0823]
Related colors
Frequently asked questions
#2a0823 (#2a0823) is rgb(42, 8, 35) in RGB.
No, #2a0823 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 #2a0823, or check how it holds up for accessibility.