Skip to content
Kolorvia
#4a2ba1

Color #4a2ba1

A moderately saturated medium blue.

Conversions

HEX
#4a2ba1
RGB
rgb(74, 43, 161)
HSL
hsl(255.8, 57.8%, 40%)
HSV / HSB
hsv(255.8, 73.3%, 63.1%)
CMYK
cmyk(54%, 73.3%, 0%, 36.9%)
LAB
lab(28.79, 43.92, -58.85)
LCH
lch(28.79, 73.43, 306.73)
OKLCH
oklch(40.6%, 0.1776, 287.73)
HWB
hwb(255.8, 16.9%, 36.9%)

Harmony colors

Complementary

#82a12b

Analogous

#2b47a1
#4a2ba1
#852ba1

Triadic

#4a2ba1
#a14a2b
#2ba14a

Split-complementary

#4a2ba1
#a1852b
#47a12b

Tetradic

#4a2ba1
#a12b82
#82a12b
#2ba14a

Square

#4a2ba1
#a12b47
#82a12b
#2ba185

Shades

Color #4a2ba1 mixed toward black.

#3e2486
#311d6b
#251650
#190e36
#0c071b

Tints

Color #4a2ba1 mixed toward white.

#5d36c9
#7d5ed4
#9e86df
#beafe9
#dfd7f4

Tones

Color #4a2ba1 mixed toward gray.

#4f3597
#533f8d
#584983
#5d527a
#615c70

Accessibility

Aa White text on this color
9.76:1
Aa Black text on this color
2.15:1

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

Under color vision deficiencies

Protanopia

#3f3e8f · ΔE 7

Deuteranopia

#40428b · ΔE 8.6

Tritanopia

#497f7b · ΔE 36.1

Achromatopsia

#444444 · ΔE 27.7

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

Code

CSS
background-color: #4a2ba1;
Tailwind (arbitrary value)
bg-[#4a2ba1]

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

#4a2ba1 (#4a2ba1) is rgb(74, 43, 161) in RGB.

No, #4a2ba1 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 #4a2ba1, 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.