Color #342545
A muted dark purple.
Conversions
#342545
rgb(52, 37, 69)
hsl(268.1, 30.2%, 20.8%)
hsv(268.1, 46.4%, 27.1%)
cmyk(24.6%, 46.4%, 0%, 72.9%)
lab(17.84, 14.77, -17.52)
lch(17.84, 22.92, 310.13)
oklch(29.8%, 0.0592, 304.68)
hwb(268.1, 14.5%, 72.9%)
Harmony colors
Accessibility
White text reads better on this background (14.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2e2e3f · ΔE 9
Deuteranopia
#2f303d · ΔE 11.1
Tritanopia
#333a38 · ΔE 20.8
Achromatopsia
#2c2c2c · ΔE 17.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342545;
bg-[#342545]
Related colors
Frequently asked questions
#342545 (#342545) is rgb(52, 37, 69) in RGB.
No, #342545 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 #342545, or check how it holds up for accessibility.