Color #3a1c47
A moderately saturated very dark purple.
Conversions
#3a1c47
rgb(58, 28, 71)
hsl(281.9, 43.4%, 19.4%)
hsv(281.9, 60.6%, 27.8%)
cmyk(18.3%, 60.6%, 0%, 72.2%)
lab(16.43, 23.29, -21.06)
lch(16.43, 31.4, 317.88)
oklch(28.9%, 0.0826, 314.61)
hwb(281.9, 11%, 72.2%)
Harmony colors
Accessibility
White text reads better on this background (14.61:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#302f40 · ΔE 13.1
Deuteranopia
#31333e · ΔE 16.5
Tritanopia
#393937 · ΔE 23.4
Achromatopsia
#292929 · ΔE 20.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a1c47;
bg-[#3a1c47]
Related colors
Frequently asked questions
#3a1c47 (#3a1c47) is rgb(58, 28, 71) in RGB.
No, #3a1c47 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 #3a1c47, or check how it holds up for accessibility.