Color #342336
A muted very dark magenta.
Conversions
#342336
rgb(52, 35, 54)
hsl(293.7, 21.3%, 17.5%)
hsv(293.7, 35.2%, 21.2%)
cmyk(3.7%, 35.2%, 0%, 78.8%)
lab(16.5, 12.17, -9.17)
lch(16.5, 15.24, 323)
oklch(28.5%, 0.0413, 322.96)
hwb(293.7, 13.7%, 78.8%)
Harmony colors
Accessibility
White text reads better on this background (14.59:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2d2d32 · ΔE 11.7
Deuteranopia
#2e3031 · ΔE 14.8
Tritanopia
#332f2e · ΔE 13.1
Achromatopsia
#292929 · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342336;
bg-[#342336]
Related colors
Frequently asked questions
#342336 (#342336) is rgb(52, 35, 54) in RGB.
No, #342336 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 #342336, or check how it holds up for accessibility.