Color #2a1d40
A muted very dark purple.
Conversions
#2a1d40
rgb(42, 29, 64)
hsl(262.3, 37.6%, 18.2%)
hsv(262.3, 54.7%, 25.1%)
cmyk(34.4%, 54.7%, 0%, 74.9%)
lab(14.07, 15.43, -20.08)
lch(14.07, 25.32, 307.54)
oklch(26.6%, 0.0646, 299.06)
hwb(262.3, 11.4%, 74.9%)
Harmony colors
Accessibility
White text reads better on this background (15.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#25253a · ΔE 7.5
Deuteranopia
#262738 · ΔE 9.5
Tritanopia
#293433 · ΔE 21.8
Achromatopsia
#242424 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a1d40;
bg-[#2a1d40]
Related colors
Frequently asked questions
#2a1d40 (#2a1d40) is rgb(42, 29, 64) in RGB.
No, #2a1d40 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 #2a1d40, or check how it holds up for accessibility.