#40227A Hex color

#40227A

The hexadecimal color code #40227A corresponds to the code RGB( 64, 34, 122 ). It's a shade of Purple. This color is a combination of red (at 0,25 level), green (at 0,13 level) and blue (at 0,48 level). Its brightness is 30% and its saturation is 56%. It is composed of red at 29%, green at 15% and blue at 55%.


Features

Hue

Saturation

Brightness

260
56
30
Shade of Purple
Hex Code #40227A
RGB Code rgb( 64 , 34 , 122)
RGB Code Percentagergb( 25.1% , 13.3% , 47.8% )
HSLhsl( 260 , 56% , 30% )
Complementary
Color
#BFDD85


Variations of #40227A

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #40227A is the color #EBE8F1

#40227a

Darker Shades

Palette of progressively darker shades. The darkest shade is #06030C.

#40227a

Other Shades of Purple

Examples of other colors within the Purple spectrum .

See more



Color Palettes

The complementary color #BFDD85 is the color exactly opposite to #40227A on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#40227A

Triadic palette



Uses of #40227A in CSS

When using #40227A as the background color, consider selecting a lighter text color for improved readability. If you want to use #40227A as the text color, prefer a light background, such as Blanc.

#40227A as background color

Black text
White text
div{ background: #40227A;  }

Colored text

With a white background or
with a dark background
div{ color: #40227A;  }

Border

#40227A colored border with a width of 3px
div{ border: 3px solid #40227A;  }

Shadow

#40227A shadow colored
div{ box-shadow: 3px 3px 7px #40227A; }

Similar Colors

Other color codes similar or equivalent to the specified color code #40227A.

Choose another color

Select another color on color wheel.

Selected color: