Color #342531
A muted very dark magenta.
Conversions
#342531
rgb(52, 37, 49)
hsl(312, 16.9%, 17.5%)
hsv(312, 28.8%, 20.4%)
cmyk(0%, 28.8%, 5.8%, 79.6%)
lab(16.87, 9.59, -5.09)
lch(16.87, 10.86, 332.04)
oklch(28.7%, 0.0304, 333.43)
hwb(312, 14.5%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (14.43:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e2e · ΔE 11.4
Deuteranopia
#2f302e · ΔE 13.7
Tritanopia
#332c2c · ΔE 8.3
Achromatopsia
#2a2a2a · ΔE 11.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342531;
bg-[#342531]
Related colors
Frequently asked questions
#342531 (#342531) is rgb(52, 37, 49) in RGB.
No, #342531 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 #342531, or check how it holds up for accessibility.