Skip to content
Kolorvia
#5a1d7a

Color #5a1d7a

A moderately saturated dark purple.

Conversions

HEX
#5a1d7a
RGB
rgb(90, 29, 122)
HSL
hsl(279.4, 61.6%, 29.6%)
HSV / HSB
hsv(279.4, 76.2%, 47.8%)
CMYK
cmyk(26.2%, 76.2%, 0%, 52.2%)
LAB
lab(25.13, 43.36, -40.53)
LCH
lch(25.13, 59.35, 316.93)
OKLCH
oklch(37.4%, 0.1521, 311.05)
HWB
hwb(279.4, 11.4%, 52.2%)

Harmony colors

Complementary

#3d7a1d

Analogous

#2c1d7a
#5a1d7a
#7a1d6b

Triadic

#5a1d7a
#7a5a1d
#1d7a5a

Split-complementary

#5a1d7a
#6b7a1d
#1d7a2c

Tetradic

#5a1d7a
#7a1d3d
#3d7a1d
#1d7a5a

Square

#5a1d7a
#7a2c1d
#3d7a1d
#1d6b7a

Shades

Color #5a1d7a mixed toward black.

#4b1866
#3c1351
#2d0e3d
#1e0a29
#0f0514

Tints

Color #5a1d7a mixed toward white.

#7e28aa
#9e3ed1
#b76edd
#cf9ee8
#e7cff4

Tones

Color #5a1d7a mixed toward gray.

#582572
#552c6a
#533463
#503c5b
#4e4453

Accessibility

Aa White text on this color
11.1:1
Aa Black text on this color
1.89:1

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

Under color vision deficiencies

Protanopia

#47476c · ΔE 15.4

Deuteranopia

#4a4e69 · ΔE 18.2

Tritanopia

#585f5c · ΔE 28.4

Achromatopsia

#3c3c3c · ΔE 25.8

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

Code

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

Related colors

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

Frequently asked questions

#5a1d7a (#5a1d7a) is rgb(90, 29, 122) in RGB.

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