Skip to content
Kolorvia
#5a515a

Color #5a515a

A nearly neutral, gray-leaning dark magenta.

Conversions

HEX
#5a515a
RGB
rgb(90, 81, 90)
HSL
hsl(300, 5.3%, 33.5%)
HSV / HSB
hsv(300, 10%, 35.3%)
CMYK
cmyk(0%, 10%, 0%, 64.7%)
LAB
lab(35.59, 5.56, -3.9)
LCH
lch(35.59, 6.79, 324.95)
OKLCH
oklch(44.7%, 0.0185, 325.79)
HWB
hwb(300, 31.8%, 64.7%)

Harmony colors

Complementary

#515a51

Analogous

#55515a
#5a515a
#5a5155

Triadic

#5a515a
#5a5a51
#515a5a

Split-complementary

#5a515a
#555a51
#515a55

Tetradic

#5a515a
#5a5151
#515a51
#515a5a

Square

#5a515a
#5a5551
#515a51
#51555a

Shades

Color #5a515a mixed toward black.

#4b434b
#3c363c
#2d282d
#1e1b1e
#0f0d0f

Tints

Color #5a515a mixed toward white.

#786c78
#948894
#afa6af
#c9c3c9
#e4e1e4

Tones

Color #5a515a mixed toward gray.

#595259
#585258
#585358
#575457
#565556

Accessibility

Aa White text on this color
7.61:1
Aa Black text on this color
2.76:1

White text reads better on this background (7.61:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#565658 · ΔE 6.7

Deuteranopia

#575757 · ΔE 7.7

Tritanopia

#5a5656 · ΔE 6.1

Achromatopsia

#545454 · ΔE 7.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #5a515a;
Tailwind (arbitrary value)
bg-[#5a515a]

Related colors

Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8
Violet #ee82ee

Frequently asked questions

#5a515a (#5a515a) is rgb(90, 81, 90) in RGB.

No, #5a515a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #5a515a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.