Color #2d1a34
A muted very dark purple.
Conversions
#2d1a34
rgb(45, 26, 52)
hsl(283.8, 33.3%, 15.3%)
hsv(283.8, 50%, 20.4%)
cmyk(13.5%, 50%, 0%, 79.6%)
lab(12.89, 15.14, -13.4)
lch(12.89, 20.22, 318.49)
oklch(25.5%, 0.0538, 316.51)
hwb(283.8, 10.2%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (16.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#26262f · ΔE 12.2
Deuteranopia
#27282e · ΔE 14.1
Tritanopia
#2c2b2a · ΔE 17.1
Achromatopsia
#212121 · ΔE 16.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1a34;
bg-[#2d1a34]
Related colors
Frequently asked questions
#2d1a34 (#2d1a34) is rgb(45, 26, 52) in RGB.
No, #2d1a34 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 #2d1a34, or check how it holds up for accessibility.