Skip to main content

#40008B

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
#40008B
RGB
rgb(64, 0, 139)
RGBA
rgba(64, 0, 139, 1)
HSL
hsl(267.63, 100%, 27.25%)
HSLA
hsla(268, 100%, 27%, 1)
CMYK
cmyk(54%, 100%, 0%, 45%)

Color Palettes

Harmonious color combinations based on #40008B

Monochromatic

Shades and tints of the same hue

#180033
#470099
#7700FF
#AD66FF
#E4CCFF

Analogous

Adjacent colors on the color wheel

#00498A
#00058A
#40008B
#85008A
#8A0049

Complementary

Opposite color for maximum contrast

#40008B
#498A00

Triadic

Three evenly spaced colors

#40008B
#8A4000
#008A40

CSS Usage Examples

Background

background-color: #40008B;

Text

color: #40008B;

Border

border: 2px solid #40008B;

Shadow

box-shadow: 0 4px 6px #40008B40;
Feedback