Color #3a2741
A muted dark purple.
Conversions
#3a2741
rgb(58, 39, 65)
hsl(283.8, 25%, 20.4%)
hsv(283.8, 40%, 25.5%)
cmyk(10.8%, 40%, 0%, 74.5%)
lab(18.94, 14.54, -13)
lch(18.94, 19.5, 318.2)
oklch(30.7%, 0.052, 316.64)
hwb(283.8, 15.3%, 74.5%)
Harmony colors
Accessibility
White text reads better on this background (13.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#33333c · ΔE 12
Deuteranopia
#34353b · ΔE 13.9
Tritanopia
#393736 · ΔE 16.2
Achromatopsia
#2e2e2e · ΔE 16.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a2741;
bg-[#3a2741]
Related colors
Frequently asked questions
#3a2741 (#3a2741) is rgb(58, 39, 65) in RGB.
No, #3a2741 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 #3a2741, or check how it holds up for accessibility.