Color #340936
A vivid, highly saturated very dark magenta.
Conversions
#340936
rgb(52, 9, 54)
hsl(297.3, 71.4%, 12.4%)
hsv(297.3, 83.3%, 21.2%)
cmyk(3.7%, 83.3%, 0%, 78.8%)
lab(10.5, 27.84, -18.53)
lch(10.5, 33.44, 326.35)
oklch(24.1%, 0.0922, 326.05)
hwb(297.3, 3.5%, 78.8%)
Harmony colors
Accessibility
White text reads better on this background (16.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#27272f · ΔE 18.5
Deuteranopia
#292c2d · ΔE 18.8
Tritanopia
#332927 · ΔE 20.2
Achromatopsia
#1c1c1c · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #340936;
bg-[#340936]
Related colors
Frequently asked questions
#340936 (#340936) is rgb(52, 9, 54) in RGB.
No, #340936 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 #340936, or check how it holds up for accessibility.