Color #2b1d45
A moderately saturated very dark purple.
Conversions
#2b1d45
rgb(43, 29, 69)
hsl(261, 40.8%, 19.2%)
hsv(261, 58%, 27.1%)
cmyk(37.7%, 58%, 0%, 72.9%)
lab(14.52, 17.32, -22.83)
lch(14.52, 28.66, 307.19)
oklch(27%, 0.0727, 297.45)
hwb(261, 11.4%, 72.9%)
Harmony colors
Accessibility
White text reads better on this background (15.39:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#26253e · ΔE 6.8
Deuteranopia
#26273c · ΔE 8.8
Tritanopia
#2a3836 · ΔE 23.5
Achromatopsia
#252525 · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2b1d45;
bg-[#2b1d45]
Related colors
Frequently asked questions
#2b1d45 (#2b1d45) is rgb(43, 29, 69) in RGB.
No, #2b1d45 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 #2b1d45, or check how it holds up for accessibility.