Skip to main content

#310542

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
#310542
RGB
rgb(49, 5, 66)
RGBA
rgba(49, 5, 66, 1)
HSL
hsl(283.28, 85.92%, 13.92%)
HSLA
hsla(283, 86%, 14%, 1)
CMYK
cmyk(26%, 92%, 0%, 74%)

Color Palettes

Harmonious color combinations based on #310542

Monochromatic

Shades and tints of the same hue

#23042F
#690B8E
#AF12ED
#CF71F4
#EFD0FB

Analogous

Adjacent colors on the color wheel

#051642
#120542
#310542
#420535
#420516

Complementary

Opposite color for maximum contrast

#310542
#164205

Triadic

Three evenly spaced colors

#310542
#423105
#054231

CSS Usage Examples

Background

background-color: #310542;

Text

color: #310542;

Border

border: 2px solid #310542;

Shadow

box-shadow: 0 4px 6px #31054240;
Feedback