Color #340d2f
A moderately saturated very dark magenta.
Conversions
#340d2f
rgb(52, 13, 47)
hsl(307.7, 60%, 12.7%)
hsv(307.7, 75%, 20.4%)
cmyk(0%, 75%, 9.6%, 79.6%)
lab(10.73, 24.49, -13.06)
lch(10.73, 27.75, 331.93)
oklch(24.1%, 0.0791, 333.18)
hwb(307.7, 5.1%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (16.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#282829 · ΔE 20.2
Deuteranopia
#2a2c28 · ΔE 26.1
Tritanopia
#332423 · ΔE 16
Achromatopsia
#1d1d1d · ΔE 20.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #340d2f;
bg-[#340d2f]
Related colors
Frequently asked questions
#340d2f (#340d2f) is rgb(52, 13, 47) in RGB.
No, #340d2f 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 #340d2f, or check how it holds up for accessibility.