Skip to main content

#170542

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
#170542
RGB
rgb(23, 5, 66)
RGBA
rgba(23, 5, 66, 1)
HSL
hsl(257.7, 85.92%, 13.92%)
HSLA
hsla(258, 86%, 14%, 1)
CMYK
cmyk(65%, 92%, 0%, 74%)

Color Palettes

Harmonious color combinations based on #170542

Monochromatic

Shades and tints of the same hue

#11042F
#320B8E
#5412ED
#9871F4
#DDD0FB

Analogous

Adjacent colors on the color wheel

#053042
#051142
#170542
#360542
#420530

Complementary

Opposite color for maximum contrast

#170542
#304205

Triadic

Three evenly spaced colors

#170542
#421705
#054217

CSS Usage Examples

Background

background-color: #170542;

Text

color: #170542;

Border

border: 2px solid #170542;

Shadow

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