Skip to content
Kolorvia
#5a5161

Color #5a5161

A nearly neutral, gray-leaning dark purple.

Conversions

HEX
#5a5161
RGB
rgb(90, 81, 97)
HSL
hsl(273.8, 9%, 34.9%)
HSV / HSB
hsv(273.8, 16.5%, 38%)
CMYK
cmyk(7.2%, 16.5%, 0%, 62%)
LAB
lab(35.83, 7.12, -7.93)
LCH
lch(35.83, 10.66, 311.92)
OKLCH
oklch(45%, 0.0281, 310.38)
HWB
hwb(273.8, 31.8%, 62%)

Harmony colors

Complementary

#586151

Analogous

#525161
#5a5161
#615160

Triadic

#5a5161
#615a51
#51615a

Split-complementary

#5a5161
#606151
#516152

Tetradic

#5a5161
#615158
#586151
#51615a

Square

#5a5161
#615251
#586151
#516061

Shades

Color #5a5161 mixed toward black.

#4b4351
#3c3641
#2d2831
#1e1b20
#0f0d10

Tints

Color #5a5161 mixed toward white.

#766a7f
#92869a
#ada5b3
#c8c3cd
#e4e1e6

Tones

Color #5a5161 mixed toward gray.

#5a5260
#5a545e
#5a555d
#59565c
#59585a

Accessibility

Aa White text on this color
7.54:1
Aa Black text on this color
2.78:1

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

Under color vision deficiencies

Protanopia

#56565d · ΔE 6.8

Deuteranopia

#57575d · ΔE 7.3

Tritanopia

#5a5a5a · ΔE 10.4

Achromatopsia

#545454 · ΔE 10.2

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

Code

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

Related colors

Indigo #4b0082
Blue Violet #8a2be2
Rebecca Purple #663399
Dark Orchid #9932cc
Dark Violet #9400d3
Medium Purple #9370db

Frequently asked questions

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

No, #5a5161 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 #5a5161, 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.