Skip to main content

#31226B

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
#31226B
RGB
rgb(49, 34, 107)
RGBA
rgba(49, 34, 107, 1)
HSL
hsl(252.33, 51.77%, 27.65%)
HSLA
hsla(252, 52%, 28%, 1)
CMYK
cmyk(54%, 68%, 0%, 58%)

Color Palettes

Harmonious color combinations based on #31226B

Monochromatic

Shades and tints of the same hue

#120C27
#352574
#583DC2
#9B8BDA
#DED8F3

Analogous

Adjacent colors on the color wheel

#225E6D
#22396D
#31226B
#56226D
#6D225E

Complementary

Opposite color for maximum contrast

#31226B
#5E6D22

Triadic

Three evenly spaced colors

#31226B
#6D3122
#226D31

CSS Usage Examples

Background

background-color: #31226B;

Text

color: #31226B;

Border

border: 2px solid #31226B;

Shadow

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