Skip to content
Kolorvia
#4e31e1

Color #4e31e1

A vivid, highly saturated medium blue.

Conversions

HEX
#4e31e1
RGB
rgb(78, 49, 225)
HSL
hsl(249.9, 74.6%, 53.7%)
HSV / HSB
hsv(249.9, 78.2%, 88.2%)
CMYK
cmyk(65.3%, 78.2%, 0%, 11.8%)
LAB
lab(36.46, 60.07, -83.84)
LCH
lch(36.46, 103.14, 305.62)
OKLCH
oklch(47.9%, 0.2453, 279.24)
HWB
hwb(249.9, 19.2%, 11.8%)

Harmony colors

Complementary

#c4e131

Analogous

#316ce1
#4e31e1
#a631e1

Triadic

#4e31e1
#e14e31
#31e14e

Split-complementary

#4e31e1
#e1a631
#6ce131

Tetradic

#4e31e1
#e131c4
#c4e131
#31e14e

Square

#4e31e1
#e1316c
#c4e131
#31e1a6

Shades

Color #4e31e1 mixed toward black.

#391dc7
#2e179f
#221178
#170c50
#0b0628

Tints

Color #4e31e1 mixed toward white.

#6b53e6
#8976eb
#a698f0
#c4baf5
#e1ddfa

Tones

Color #4e31e1 mixed toward gray.

#5840d2
#624ec4
#6b5db5
#756ca6
#7f7a98

Accessibility

Aa White text on this color
7.37:1
Aa Black text on this color
2.85:1

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

Under color vision deficiencies

Protanopia

#4343c8 · ΔE 5.2

Deuteranopia

#4547c1 · ΔE 6.5

Tritanopia

#4db1ab · ΔE 48

Achromatopsia

#565656 · ΔE 31.1

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

Code

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

Related colors

Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Medium Purple #9370db
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#4e31e1 (#4e31e1) is rgb(78, 49, 225) in RGB.

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