Skip to content
Kolorvia
#5b406b

Color #5b406b

A muted dark purple.

Conversions

HEX
#5b406b
RGB
rgb(91, 64, 107)
HSL
hsl(277.7, 25.1%, 33.5%)
HSV / HSB
hsv(277.7, 40.2%, 42%)
CMYK
cmyk(15%, 40.2%, 0%, 58%)
LAB
lab(31.7, 20.61, -20.56)
LCH
lch(31.7, 29.11, 315.07)
OKLCH
oklch(41.9%, 0.0765, 312.19)
HWB
hwb(277.7, 25.1%, 58%)

Harmony colors

Complementary

#506b40

Analogous

#45406b
#5b406b
#6b4065

Triadic

#5b406b
#6b5b40
#406b5b

Split-complementary

#5b406b
#656b40
#406b45

Tetradic

#5b406b
#6b4050
#506b40
#406b5b

Square

#5b406b
#6b4540
#506b40
#40656b

Shades

Color #5b406b mixed toward black.

#4c3559
#3d2b47
#2d2035
#1e1524
#0f0b12

Tints

Color #5b406b mixed toward white.

#79558e
#9572aa
#b095bf
#cab8d5
#e5dcea

Tones

Color #5b406b mixed toward gray.

#5a4467
#594764
#584b60
#574e5d
#565259

Accessibility

Aa White text on this color
8.78:1
Aa Black text on this color
2.39:1

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

Under color vision deficiencies

Protanopia

#515063 · ΔE 11.9

Deuteranopia

#525461 · ΔE 15.1

Tritanopia

#5a5b5a · ΔE 21.2

Achromatopsia

#4b4b4b · ΔE 19.8

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

Code

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

Related colors

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

Frequently asked questions

#5b406b (#5b406b) is rgb(91, 64, 107) in RGB.

No, #5b406b is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #5b406b, 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.