Skip to content
Kolorvia
#5a306a

Color #5a306a

A muted dark purple.

Conversions

HEX
#5a306a
RGB
rgb(90, 48, 106)
HSL
hsl(283.4, 37.7%, 30.2%)
HSV / HSB
hsv(283.4, 54.7%, 41.6%)
CMYK
cmyk(15.1%, 54.7%, 0%, 58.4%)
LAB
lab(27.65, 29.82, -26.27)
LCH
lch(27.65, 39.74, 318.62)
OKLCH
oklch(38.9%, 0.1052, 315.96)
HWB
hwb(283.4, 18.8%, 58.4%)

Harmony colors

Complementary

#406a30

Analogous

#3d306a
#5a306a
#6a305d

Triadic

#5a306a
#6a5a30
#306a5a

Split-complementary

#5a306a
#5d6a30
#306a3d

Tetradic

#5a306a
#6a3040
#406a30
#306a5a

Square

#5a306a
#6a3d30
#406a30
#305d6a

Shades

Color #5a306a mixed toward black.

#4b2858
#3c2047
#2d1835
#1e1023
#0f0812

Tints

Color #5a306a mixed toward white.

#7d4293
#9c5cb5
#b584c8
#ceadda
#e6d6ed

Tones

Color #5a306a mixed toward gray.

#583565
#563a60
#533e5c
#514357
#4f4852

Accessibility

Aa White text on this color
10.17:1
Aa Black text on this color
2.07:1

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

Under color vision deficiencies

Protanopia

#4b4b60 · ΔE 14.9

Deuteranopia

#4d505d · ΔE 18.2

Tritanopia

#585754 · ΔE 26.2

Achromatopsia

#414141 · ΔE 22.8

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

Code

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

Related colors

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

Frequently asked questions

#5a306a (#5a306a) is rgb(90, 48, 106) in RGB.

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