#342040 Hex color

#342040

The hexadecimal color code #342040 corresponds to the code RGB( 52, 32, 64 ). It's a shade of Purple. This color is a combination of red (at 0,20 level), green (at 0,13 level) and blue (at 0,25 level). Its brightness is 18% and its saturation is 33%. It is composed of red at 35%, green at 21% and blue at 43%.


Features

Hue

Saturation

Brightness

278
33
18
Shade of Purple
Hex Code #342040
RGB Code rgb( 52 , 32 , 64)
RGB Code Percentagergb( 20.4% , 12.5% , 25.1% )
HSLhsl( 278 , 33% , 18% )
Complementary
Color
#CBDFBF


Variations of #342040

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #342040 is the color #EAE8EB

#342040

Darker Shades

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

#342040

Other Shades of Purple

Examples of other colors within the Purple spectrum .

See more



Color Palettes

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

Complementary color palette

#342040

Triadic palette



Uses of #342040 in CSS

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

#342040 as background color

Black text
White text
div{ background: #342040;  }

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: