Skip to content
Kolorvia
#3a155d

Color #3a155d

A moderately saturated dark purple.

Conversions

HEX
#3a155d
RGB
rgb(58, 21, 93)
HSL
hsl(270.8, 63.2%, 22.4%)
HSV / HSB
hsv(270.8, 77.4%, 36.5%)
CMYK
cmyk(37.6%, 77.4%, 0%, 63.5%)
LAB
lab(16.63, 33.09, -35.67)
LCH
lch(16.63, 48.65, 312.85)
OKLCH
oklch(29.6%, 0.1212, 303.05)
HWB
hwb(270.8, 8.2%, 63.5%)

Harmony colors

Complementary

#385d15

Analogous

#16155d
#3a155d
#5d155c

Triadic

#3a155d
#5d3a15
#155d3a

Split-complementary

#3a155d
#5c5d15
#155d16

Tetradic

#3a155d
#5d1538
#385d15
#155d3a

Square

#3a155d
#5d1615
#385d15
#155c5d

Shades

Color #3a155d mixed toward black.

#30124e
#270e3e
#1d0b2f
#13071f
#0a0410

Tints

Color #3a155d mixed toward white.

#5c2193
#7d2dc9
#9e5edb
#be93e7
#dfc9f3

Tones

Color #3a155d mixed toward gray.

#3a1b57
#3a2151
#3a274b
#392d45
#39333f

Accessibility

Aa White text on this color
14.53:1
Aa Black text on this color
1.45:1

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

Under color vision deficiencies

Protanopia

#2e2e52 · ΔE 11

Deuteranopia

#30324f · ΔE 13

Tritanopia

#394846 · ΔE 25.1

Achromatopsia

#292929 · ΔE 24.1

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

Code

CSS
background-color: #3a155d;
Tailwind (arbitrary value)
bg-[#3a155d]

Related colors

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

Frequently asked questions

#3a155d (#3a155d) is rgb(58, 21, 93) in RGB.

No, #3a155d 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 #3a155d, 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.