Skip to content
Kolorvia
#4e2a7e

Color #4e2a7e

A moderately saturated dark purple.

Conversions

HEX
#4e2a7e
RGB
rgb(78, 42, 126)
HSL
hsl(265.7, 50%, 32.9%)
HSV / HSB
hsv(265.7, 66.7%, 49.4%)
CMYK
cmyk(38.1%, 66.7%, 0%, 50.6%)
LAB
lab(26.1, 35.19, -41.57)
LCH
lch(26.1, 54.46, 310.25)
OKLCH
oklch(37.8%, 0.136, 299.53)
HWB
hwb(265.7, 16.5%, 50.6%)

Harmony colors

Complementary

#5a7e2a

Analogous

#2a307e
#4e2a7e
#782a7e

Triadic

#4e2a7e
#7e4e2a
#2a7e4e

Split-complementary

#4e2a7e
#7e782a
#307e2a

Tetradic

#4e2a7e
#7e2a5a
#5a7e2a
#2a7e4e

Square

#4e2a7e
#7e2a30
#5a7e2a
#2a7e78

Shades

Color #4e2a7e mixed toward black.

#412369
#341c54
#27153f
#1a0e2a
#0d0715

Tints

Color #4e2a7e mixed toward white.

#6838a9
#8554c6
#a37fd4
#c2a9e2
#e0d4f1

Tones

Color #4e2a7e mixed toward gray.

#4f3177
#503870
#513f69
#524662
#534d5b

Accessibility

Aa White text on this color
10.73:1
Aa Black text on this color
1.96:1

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

Under color vision deficiencies

Protanopia

#414171 · ΔE 9.9

Deuteranopia

#43456d · ΔE 11.8

Tritanopia

#4d6461 · ΔE 28

Achromatopsia

#3e3e3e · ΔE 24.9

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

Code

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

Related colors

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

Frequently asked questions

#4e2a7e (#4e2a7e) is rgb(78, 42, 126) in RGB.

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