Maroon Colors  ·  Color Library

Palettes / Colors / #4E2CA2

#4E2CA2 — Purple

#4E2CA2 is a purple color we call Purple, closest to the named color DarkSlateBlue (#483D8B). It belongs to the purple family.

Color name

Closest CSS keyword: darkslateblue (#483D8B) — not an exact match. CSS darkslateblue gives you #483D8B, a different color; use #4E2CA2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#4E2CA2 is a cool purple color associated with luxury, creativity and mystery. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #7FA02C; it also sits naturally between #2C45A0 and #872CA0. In the palettes below you can see it working alongside real color combinations from our collection.

#4E2CA2 · RGB 78, 44, 162

Download PNG swatch SVG

Color values

HEX#4E2CA2
RGB78, 44, 162
HSL257°, 57%, 40%
HSV257°, 73%, 64%
CMYK52%, 73%, 0%, 36%
XYZ10.56, 6.03, 34.79
Yxy6.03, 0.2056, 0.1173
CIE-Lab29.49, 44.33, -58.30
Hunter Lab24.56, 35.69, -70.77

RGB & CMYK percentages

Red 31% · Green 17% · Blue 64%

Cyan 52% · Magenta 73% · Yellow 0% · Key 36%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #4E2CA2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #4E2CA2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #4E2CA2

.text { color: #4E2CA2; }
.background { background-color: #4E2CA2; }
.border { border: 3px solid #4E2CA2; }
.text-rgb { color: rgb(78, 44, 162); }
.text-hsl { color: hsl(257, 57%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #4E2CA2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(78, 44, 162, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #4E2CA2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(78, 44, 162, 0.8); }

HTML: <p style="color:#4E2CA2">Text here</p> · <div style="background-color:#4E2CA2">Div content here</div>

Shades of #4E2CA2

#452790#3F2484#382074#321D68#2A1858#231448#1D103C#150C2C#0F0920#080410

Tints of #4E2CA2

#5832B8#633BC9#7653D0#8667D5#997FDC#AC97E2#BCABE8#CFC3EF#DFD7F4#F2EFFB

Tones of #4E2CA2

#503498#543C90#574488#5B4E7E#5F5676#625E6E

Color harmonies

Complementary — #7FA02C:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.52:1 AAA
Against black text2.21:1 Fails

Best text color on #4E2CA2: #FFFFFF.

Semi-transparent (opacity) text on #4E2CA2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #4E2CA2: ·

How #4E2CA2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #3F3F85Deuteranopia · #41447FTritanopia · #4C6F6A

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Deep Purple 500 · #673AB7Material Indigo 500 · #3F51B5Tailwind slate 600 · #475569

Palettes with a similar color

These palettes use a close neighbour of #4E2CA2 rather than the exact color:

Vivid Lagoon
#5228A7 · #AC71DD · #97C931 · #CDE4AD
Vintage Ruby Cinder
#54A7C2 · #5F74CB · #52299C · #A32FAE
Vivid Ruby Drift
#295C77 · #2F469C · #49319D · #55276D
Palette 3a1078
#3A1078 · #4E31AA · #3795BD · #F7F7F8
Scarlet Ruby Lagoon
#4E35A5 · #321242 · #5D1754 · #401527
Palette 4a249d
#4A249D · #009FBD · #F9E2AF · #F6F5F5

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#5228A7#52299C#49319D#4E31AA#4E35A5#4A249D#54279B#5435A6#5535A5#472D96#4126A1#443199

Browse neighbouring colors

← #4E2CA1  ·  #4E2CA3 →

Frequently asked questions

What color is #4E2CA2?

#4E2CA2 is Purple, a purple color (RGB 78, 44, 162). Its closest standard named color is DarkSlateBlue.

What is the RGB and HSL of #4E2CA2?

#4E2CA2 is RGB 78, 44, 162 — HSL 257°, 57%, 40% — CMYK 52%, 73%, 0%, 36%.

What colors go with #4E2CA2?

Its complement is #7FA02C; analogous partners are #2C45A0 and #872CA0. It also appears in 6+ palettes in our collection.

Can I use #4E2CA2 for text?

White text on #4E2CA2 has a contrast ratio of 9.52:1 (passes WCAG AA); black text gives 2.21:1.