Color #311029
A moderately saturated very dark magenta.
Conversions
#311029
rgb(49, 16, 41)
hsl(314.5, 50.8%, 12.7%)
hsv(314.5, 67.3%, 19.2%)
cmyk(0%, 67.3%, 16.3%, 80.8%)
lab(10.44, 20.6, -9.12)
lch(10.44, 22.53, 336.12)
oklch(23.6%, 0.0652, 337.84)
hwb(314.5, 6.3%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (16.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262624 · ΔE 20.6
Deuteranopia
#282a23 · ΔE 26
Tritanopia
#302020 · ΔE 12.6
Achromatopsia
#1c1c1c · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #311029;
bg-[#311029]
Related colors
Frequently asked questions
#311029 (#311029) is rgb(49, 16, 41) in RGB.
No, #311029 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 #311029, or check how it holds up for accessibility.