Color #2c1b46
A moderately saturated very dark purple.
Conversions
#2c1b46
rgb(44, 27, 70)
hsl(263.7, 44.3%, 19%)
hsv(263.7, 61.4%, 27.5%)
cmyk(37.1%, 61.4%, 0%, 72.5%)
lab(14.18, 19.31, -24.07)
lch(14.18, 30.86, 308.74)
oklch(26.8%, 0.0781, 299.35)
hwb(263.7, 10.6%, 72.5%)
Harmony colors
Accessibility
White text reads better on this background (15.53:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#26253f · ΔE 7.5
Deuteranopia
#27283d · ΔE 9.9
Tritanopia
#2b3836 · ΔE 23.6
Achromatopsia
#242424 · ΔE 20
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2c1b46;
bg-[#2c1b46]
Related colors
Frequently asked questions
#2c1b46 (#2c1b46) is rgb(44, 27, 70) in RGB.
No, #2c1b46 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 #2c1b46, or check how it holds up for accessibility.