Color #2d1538
A moderately saturated very dark purple.
Conversions
#2d1538
rgb(45, 21, 56)
hsl(281.1, 45.5%, 15.1%)
hsv(281.1, 62.5%, 22%)
cmyk(19.6%, 62.5%, 0%, 78%)
lab(11.82, 19.57, -17.95)
lch(11.82, 26.56, 317.47)
oklch(24.8%, 0.0697, 314.07)
hwb(281.1, 8.2%, 78%)
Harmony colors
Accessibility
White text reads better on this background (16.46:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#252432 · ΔE 12.2
Deuteranopia
#262730 · ΔE 15.3
Tritanopia
#2c2c2b · ΔE 20.6
Achromatopsia
#1f1f1f · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1538;
bg-[#2d1538]
Related colors
Frequently asked questions
#2d1538 (#2d1538) is rgb(45, 21, 56) in RGB.
No, #2d1538 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 #2d1538, or check how it holds up for accessibility.