Skip to content
Kolorvia
#3a1d7a

Color #3a1d7a

A moderately saturated dark blue.

Conversions

HEX
#3a1d7a
RGB
rgb(58, 29, 122)
HSL
hsl(258.7, 61.6%, 29.6%)
HSV / HSB
hsv(258.7, 76.2%, 47.8%)
CMYK
cmyk(52.5%, 76.2%, 0%, 52.2%)
LAB
lab(20.76, 37.21, -47.83)
LCH
lch(20.76, 60.6, 307.88)
OKLCH
oklch(33.4%, 0.1466, 290.4)
HWB
hwb(258.7, 11.4%, 52.2%)

Harmony colors

Complementary

#5d7a1d

Analogous

#1d2e7a
#3a1d7a
#681d7a

Triadic

#3a1d7a
#7a3a1d
#1d7a3a

Split-complementary

#3a1d7a
#7a681d
#2e7a1d

Tetradic

#3a1d7a
#7a1d5d
#5d7a1d
#1d7a3a

Square

#3a1d7a
#7a1d2e
#5d7a1d
#1d7a68

Shades

Color #3a1d7a mixed toward black.

#301866
#271351
#1d0e3d
#130a29
#0a0514

Tints

Color #3a1d7a mixed toward white.

#5128aa
#6c3ed1
#906edd
#b59ee8
#dacff4

Tones

Color #3a1d7a mixed toward gray.

#3d2572
#402c6a
#433463
#463c5b
#494453

Accessibility

Aa White text on this color
12.83:1
Aa Black text on this color
1.64:1

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

Under color vision deficiencies

Protanopia

#30306c · ΔE 7.6

Deuteranopia

#313369 · ΔE 9

Tritanopia

#395f5c · ΔE 30.8

Achromatopsia

#323232 · ΔE 25.9

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

Code

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

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Rebecca Purple #663399
Blue Violet #8a2be2

Frequently asked questions

#3a1d7a (#3a1d7a) is rgb(58, 29, 122) in RGB.

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