Skip to main content

#340542

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
#340542
RGB
rgb(52, 5, 66)
RGBA
rgba(52, 5, 66, 1)
HSL
hsl(286.23, 85.92%, 13.92%)
HSLA
hsla(286, 86%, 14%, 1)
CMYK
cmyk(21%, 92%, 0%, 74%)

Color Palettes

Harmonious color combinations based on #340542

Monochromatic

Shades and tints of the same hue

#25042F
#700B8E
#BA12ED
#D671F4
#F1D0FB

Analogous

Adjacent colors on the color wheel

#051342
#150542
#340542
#420532
#420513

Complementary

Opposite color for maximum contrast

#340542
#134205

Triadic

Three evenly spaced colors

#340542
#423405
#054234

CSS Usage Examples

Background

background-color: #340542;

Text

color: #340542;

Border

border: 2px solid #340542;

Shadow

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