Color #311a2f
A muted very dark magenta.
Conversions
#311a2f
rgb(49, 26, 47)
hsl(305.2, 30.7%, 14.7%)
hsv(305.2, 46.9%, 19.2%)
cmyk(0%, 46.9%, 4.1%, 80.8%)
lab(13.21, 15.47, -9.25)
lch(13.21, 18.02, 329.12)
oklch(25.8%, 0.0503, 330.07)
hwb(305.2, 10.2%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (15.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#29292b · ΔE 15.2
Deuteranopia
#2a2b2a · ΔE 17.9
Tritanopia
#302726 · ΔE 13
Achromatopsia
#222222 · ΔE 15.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #311a2f;
bg-[#311a2f]
Related colors
Frequently asked questions
#311a2f (#311a2f) is rgb(49, 26, 47) in RGB.
No, #311a2f 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 #311a2f, or check how it holds up for accessibility.