Skip to main content

#40118E

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
#40118E
RGB
rgb(64, 17, 142)
RGBA
rgba(64, 17, 142, 1)
HSL
hsl(262.56, 78.62%, 31.18%)
HSLA
hsla(263, 79%, 31%, 1)
CMYK
cmyk(55%, 88%, 0%, 44%)

Color Palettes

Harmonious color combinations based on #40118E

Monochromatic

Shades and tints of the same hue

#15052E
#3E1089
#681BE4
#A476EF
#E1D1FA

Analogous

Adjacent colors on the color wheel

#115E8D
#111F8D
#40118E
#7F118D
#8D115E

Complementary

Opposite color for maximum contrast

#40118E
#5E8D11

Triadic

Three evenly spaced colors

#40118E
#8D4011
#118D40

CSS Usage Examples

Background

background-color: #40118E;

Text

color: #40118E;

Border

border: 2px solid #40118E;

Shadow

box-shadow: 0 4px 6px #40118E40;
Feedback