#40138F Hex color

#40138F

The hexadecimal color code #40138F corresponds to the code RGB( 64, 19, 143 ). It's a shade of Purple. This color is a combination of red (at 0,25 level), green (at 0,07 level) and blue (at 0,56 level). Its brightness is 31% and its saturation is 76%. It is composed of red at 28%, green at 8% and blue at 63%. The dominant component is blue.


Features

Hue

Saturation

Brightness

262
76
31
Shade of Purple
Hex Code #40138F
RGB Code rgb( 64 , 19 , 143)
RGB Code Percentagergb( 25.1% , 7.5% , 56.1% )
HSLhsl( 262 , 76% , 31% )
Complementary
Color
#BFEC70


Variations of #40138F

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #40138F is the color #EBE7F3

#40138f

Darker Shades

Palette of progressively darker shades. The darkest shade is #06010E.

#40138f

Other Shades of Purple

Examples of other colors within the Purple spectrum .

See more



Color Palettes

The complementary color #BFEC70 is the color exactly opposite to #40138F on the color wheel. The triadic palette is created by selecting two colors that are evenly spaced on the color wheel.

Complementary color palette

#40138F

Triadic palette



Uses of #40138F in CSS

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

#40138F as background color

Black text
White text
div{ background: #40138F;  }

Colored text

With a white background or
with a dark background
div{ color: #40138F;  }

Border

#40138F colored border with a width of 3px
div{ border: 3px solid #40138F;  }

Shadow

#40138F shadow colored
div{ box-shadow: 3px 3px 7px #40138F; }

Similar Colors

Other color codes similar or equivalent to the specified color code #40138F.

Choose another color

Select another color on color wheel.

Selected color: