Color #342839
A muted very dark purple.
Conversions
#342839
rgb(52, 40, 57)
hsl(282.4, 17.5%, 19%)
hsv(282.4, 29.8%, 22.4%)
cmyk(8.8%, 29.8%, 0%, 77.6%)
lab(18.11, 9.44, -8.8)
lch(18.11, 12.91, 317.01)
oklch(29.8%, 0.0343, 315.83)
hwb(282.4, 15.7%, 77.6%)
Harmony colors
Accessibility
White text reads better on this background (13.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f35 · ΔE 9.1
Deuteranopia
#303135 · ΔE 10.7
Tritanopia
#333232 · ΔE 11.8
Achromatopsia
#2c2c2c · ΔE 12.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342839;
bg-[#342839]
Related colors
Frequently asked questions
#342839 (#342839) is rgb(52, 40, 57) in RGB.
No, #342839 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 #342839, or check how it holds up for accessibility.