Color #342a43
A muted dark purple.
Conversions
#342a43
rgb(52, 42, 67)
hsl(264, 22.9%, 21.4%)
hsv(264, 37.3%, 26.3%)
cmyk(22.4%, 37.3%, 0%, 73.7%)
lab(19.19, 10.73, -14.04)
lch(19.19, 17.67, 307.39)
oklch(30.8%, 0.0458, 302.16)
hwb(264, 16.5%, 73.7%)
Harmony colors
Accessibility
White text reads better on this background (13.48:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#30303e · ΔE 7.3
Deuteranopia
#31313d · ΔE 8.2
Tritanopia
#343a39 · ΔE 17.5
Achromatopsia
#2f2f2f · ΔE 14.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #342a43;
bg-[#342a43]
Related colors
Frequently asked questions
#342a43 (#342a43) is rgb(52, 42, 67) in RGB.
No, #342a43 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 #342a43, or check how it holds up for accessibility.