Color #2a1a32
A muted very dark purple.
Conversions
#2a1a32
rgb(42, 26, 50)
hsl(280, 31.6%, 14.9%)
hsv(280, 48%, 19.6%)
cmyk(16%, 48%, 0%, 80.4%)
lab(12.36, 13.45, -12.82)
lch(12.36, 18.58, 316.37)
oklch(25%, 0.049, 313.76)
hwb(280, 10.2%, 80.4%)
Harmony colors
Accessibility
White text reads better on this background (16.25:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#24242d · ΔE 11
Deuteranopia
#25262c · ΔE 13
Tritanopia
#292928 · ΔE 16.7
Achromatopsia
#202020 · ΔE 15.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1a32;
bg-[#2a1a32]
Related colors
Frequently asked questions
#2a1a32 (#2a1a32) is rgb(42, 26, 50) in RGB.
No, #2a1a32 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 #2a1a32, or check how it holds up for accessibility.