Skip to main content

#5A42D1

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
#5A42D1
RGB
rgb(90, 66, 209)
RGBA
rgba(90, 66, 209, 1)
HSL
hsl(250.07, 60.85%, 53.92%)
HSLA
hsla(250, 61%, 54%, 1)
CMYK
cmyk(57%, 68%, 0%, 18%)

Color Palettes

Harmonious color combinations based on #5A42D1

Monochromatic

Shades and tints of the same hue

#0F0A29
#2D1E7B
#4C32CD
#9384E1
#DBD6F5

Analogous

Adjacent colors on the color wheel

#42B9D1
#4272D1
#5A42D1
#A242D1
#D142B9

Complementary

Opposite color for maximum contrast

#5A42D1
#B9D142

Triadic

Three evenly spaced colors

#5A42D1
#D15A42
#42D15A

CSS Usage Examples

Background

background-color: #5A42D1;

Text

color: #5A42D1;

Border

border: 2px solid #5A42D1;

Shadow

box-shadow: 0 4px 6px #5A42D140;
Feedback