Color #342c3b
A nearly neutral, gray-leaning dark purple.
Conversions
#342c3b
rgb(52, 44, 59)
hsl(272, 14.6%, 20.2%)
hsv(272, 25.4%, 23.1%)
cmyk(11.9%, 25.4%, 0%, 76.9%)
lab(19.42, 7.18, -8.19)
lch(19.42, 10.89, 311.24)
oklch(30.8%, 0.0285, 308.88)
hwb(272, 17.3%, 76.9%)
Harmony colors
Accessibility
White text reads better on this background (13.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#313138 · ΔE 6.6
Deuteranopia
#313237 · ΔE 8.1
Tritanopia
#343534 · ΔE 11.6
Achromatopsia
#2f2f2f · ΔE 10.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342c3b;
bg-[#342c3b]
Related colors
Frequently asked questions
#342c3b (#342c3b) is rgb(52, 44, 59) in RGB.
No, #342c3b is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #342c3b, or check how it holds up for accessibility.