Color #3a3151
A muted dark blue.
Conversions
#3a3151
rgb(58, 49, 81)
hsl(256.9, 24.6%, 25.5%)
hsv(256.9, 39.5%, 31.8%)
cmyk(28.4%, 39.5%, 0%, 68.2%)
lab(22.62, 12.08, -18.1)
lch(22.62, 21.76, 303.72)
oklch(33.8%, 0.0561, 296.25)
hwb(256.9, 19.2%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (12.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#36364b · ΔE 5.9
Deuteranopia
#373749 · ΔE 7.1
Tritanopia
#3a4544 · ΔE 20.3
Achromatopsia
#363636 · ΔE 16.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #3a3151;
bg-[#3a3151]
Related colors
Frequently asked questions
#3a3151 (#3a3151) is rgb(58, 49, 81) in RGB.
No, #3a3151 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 #3a3151, or check how it holds up for accessibility.