Skip to main content

#0C0542

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
#0C0542
RGB
rgb(12, 5, 66)
RGBA
rgba(12, 5, 66, 1)
HSL
hsl(246.89, 85.92%, 13.92%)
HSLA
hsla(247, 86%, 14%, 1)
CMYK
cmyk(82%, 92%, 0%, 74%)

Color Palettes

Harmonious color combinations based on #0C0542

Monochromatic

Shades and tints of the same hue

#09042F
#1A0B8E
#2B12ED
#8071F4
#D5D0FB

Analogous

Adjacent colors on the color wheel

#053B42
#051D42
#0C0542
#2B0542
#42053B

Complementary

Opposite color for maximum contrast

#0C0542
#3B4205

Triadic

Three evenly spaced colors

#0C0542
#420C05
#05420C

CSS Usage Examples

Background

background-color: #0C0542;

Text

color: #0C0542;

Border

border: 2px solid #0C0542;

Shadow

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