#40315E Hex color

#40315E

The hexadecimal color code #40315E corresponds to the code RGB( 64, 49, 94 ). It's a shade of Purple. This color is a combination of red (at 0,25 level), green (at 0,19 level) and blue (at 0,37 level). Its brightness is 28% and its saturation is 31%. It is composed of red at 30%, green at 23% and blue at 45%.


Features

Hue

Saturation

Brightness

260
31
28
Shade of Purple
Hex Code #40315E
RGB Code rgb( 64 , 49 , 94)
RGB Code Percentagergb( 25.1% , 19.2% , 36.9% )
HSLhsl( 260 , 31% , 28% )
Complementary
Color
#BFCEA1


Variations of #40315E

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #40315E is the color #EBEAEE

#40315e

Darker Shades

Palette of progressively darker shades. The darkest shade is #060409.

#40315e

Other Shades of Purple

Examples of other colors within the Purple spectrum .

See more



Color Palettes

The complementary color #BFCEA1 is the color exactly opposite to #40315E on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#40315E

Triadic palette



Uses of #40315E in CSS

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

#40315E as background color

Black text
White text
div{ background: #40315E;  }

Colored text

With a white background or
with a dark background
div{ color: #40315E;  }

Border

#40315E colored border with a width of 3px
div{ border: 3px solid #40315E;  }

Shadow

#40315E shadow colored
div{ box-shadow: 3px 3px 7px #40315E; }

Similar Colors

Other color codes similar or equivalent to the specified color code #40315E.

Choose another color

Select another color on color wheel.

Selected color: