Color #3a1836
A moderately saturated very dark magenta.
Conversions
#3a1836
rgb(58, 24, 54)
hsl(307.1, 41.5%, 16.1%)
hsv(307.1, 58.6%, 22.7%)
cmyk(0%, 58.6%, 6.9%, 77.3%)
lab(14.51, 21.76, -12.16)
lch(14.51, 24.93, 330.8)
oklch(27.2%, 0.0703, 331.9)
hwb(307.1, 9.4%, 77.3%)
Harmony colors
Accessibility
White text reads better on this background (15.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2e31 · ΔE 17.8
Deuteranopia
#30322f · ΔE 24
Tritanopia
#392c2b · ΔE 15.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: #3a1836;
bg-[#3a1836]
Related colors
Frequently asked questions
#3a1836 (#3a1836) is rgb(58, 24, 54) in RGB.
No, #3a1836 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #3a1836, or check how it holds up for accessibility.