Color #332352
A moderately saturated dark purple.
Conversions
#332352
rgb(51, 35, 82)
hsl(260.4, 40.2%, 22.9%)
hsv(260.4, 57.3%, 32.2%)
cmyk(37.8%, 57.3%, 0%, 67.8%)
lab(17.99, 19.68, -26.14)
lch(17.99, 32.72, 306.97)
oklch(30.1%, 0.0828, 296.84)
hwb(260.4, 13.7%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (13.97:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d4a · ΔE 7.1
Deuteranopia
#2e2f48 · ΔE 8.7
Tritanopia
#324241 · ΔE 23.6
Achromatopsia
#2c2c2c · ΔE 20.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #332352;
bg-[#332352]
Related colors
Frequently asked questions
#332352 (#332352) is rgb(51, 35, 82) in RGB.
No, #332352 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 #332352, or check how it holds up for accessibility.