Skip to main content

#5840C7

Share this color with others or download a color card image with HEX and RGB values. Perfect for social media, presentations, or design reference.

All Formats

HEX
#5840C7
RGB
rgb(88, 64, 199)
RGBA
rgba(88, 64, 199, 1)
HSL
hsl(250.67, 54.66%, 51.57%)
HSLA
hsla(251, 55%, 52%, 1)
CMYK
cmyk(56%, 68%, 0%, 22%)

Color Palettes

Harmonious color combinations based on #5840C7

Monochromatic

Shades and tints of the same hue

#110B28
#322277
#5339C6
#9888DD
#DDD7F4

Analogous

Adjacent colors on the color wheel

#41AFC8
#416CC8
#5840C7
#9D41C8
#C841AF

Complementary

Opposite color for maximum contrast

#5840C7
#AFC841

Triadic

Three evenly spaced colors

#5840C7
#C85A41
#41C85A

CSS Usage Examples

Background

background-color: #5840C7;

Text

color: #5840C7;

Border

border: 2px solid #5840C7;

Shadow

box-shadow: 0 4px 6px #5840C740;
Feedback