Color #3a2248
A muted dark purple.
Conversions
#3a2248
rgb(58, 34, 72)
hsl(277.9, 35.8%, 20.8%)
hsv(277.9, 52.8%, 28.2%)
cmyk(19.4%, 52.8%, 0%, 71.8%)
lab(17.97, 19.71, -19.32)
lch(17.97, 27.6, 315.57)
oklch(30.1%, 0.0722, 311.86)
hwb(277.9, 13.3%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (13.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313141 · ΔE 12.2
Deuteranopia
#32343f · ΔE 15.1
Tritanopia
#393b3a · ΔE 20.6
Achromatopsia
#2c2c2c · ΔE 19.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a2248;
bg-[#3a2248]
Related colors
Frequently asked questions
#3a2248 (#3a2248) is rgb(58, 34, 72) in RGB.
No, #3a2248 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 #3a2248, or check how it holds up for accessibility.