Color #2d1e49
A moderately saturated dark purple.
Conversions
#2d1e49
rgb(45, 30, 73)
hsl(260.9, 41.7%, 20.2%)
hsv(260.9, 58.9%, 28.6%)
cmyk(38.4%, 58.9%, 0%, 71.4%)
lab(15.32, 18.49, -24.32)
lch(15.32, 30.55, 307.24)
oklch(27.8%, 0.0773, 297.16)
hwb(260.9, 11.8%, 71.4%)
Harmony colors
Accessibility
White text reads better on this background (15.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272741 · ΔE 7.3
Deuteranopia
#282940 · ΔE 8.7
Tritanopia
#2c3b39 · ΔE 23.9
Achromatopsia
#262626 · ΔE 19.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2d1e49;
bg-[#2d1e49]
Related colors
Frequently asked questions
#2d1e49 (#2d1e49) is rgb(45, 30, 73) in RGB.
No, #2d1e49 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 #2d1e49, or check how it holds up for accessibility.