Color #2d1d4d
A moderately saturated dark purple.
Conversions
#2d1d4d
rgb(45, 29, 77)
hsl(260, 45.3%, 20.8%)
hsv(260, 62.3%, 30.2%)
cmyk(41.6%, 62.3%, 0%, 69.8%)
lab(15.34, 20.44, -27.02)
lch(15.34, 33.88, 307.11)
oklch(27.9%, 0.0852, 295.75)
hwb(260, 11.4%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (15.06:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272745 · ΔE 6.9
Deuteranopia
#282943 · ΔE 8.5
Tritanopia
#2c3d3c · ΔE 23.8
Achromatopsia
#262626 · ΔE 20.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1d4d;
bg-[#2d1d4d]
Related colors
Frequently asked questions
#2d1d4d (#2d1d4d) is rgb(45, 29, 77) in RGB.
No, #2d1d4d 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 #2d1d4d, or check how it holds up for accessibility.