#521F8B Hex color

#521F8B

The hexadecimal color code #521F8B corresponds to the code RGB( 82, 31, 139 ). It's a shade of Purple. This color is a combination of red (at 0,32 level), green (at 0,12 level) and blue (at 0,55 level). Its brightness is 33% and its saturation is 63%. It is composed of red at 32%, green at 12% and blue at 55%.


Features

Hue

Saturation

Brightness

268
63
33
Shade of Purple
Hex Code #521F8B
RGB Code rgb( 82 , 31 , 139)
RGB Code Percentagergb( 32.2% , 12.2% , 54.5% )
HSLhsl( 268 , 63% , 33% )
Complementary
Color
#ADE074


Variations of #521F8B

Lighter Shades

Palette of gradually lightened shades. The lightest shade of #521F8B is the color #EDE8F3

#521f8b

Darker Shades

Palette of progressively darker shades. The darkest shade is #08030D.

#521f8b

Other Shades of Purple

Examples of other colors within the Purple spectrum .

See more



Color Palettes

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

Complementary color palette

#521F8B

Triadic palette



Uses of #521F8B in CSS

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

#521F8B as background color

Black text
White text
div{ background: #521F8B;  }

Colored text

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

Border

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

Shadow

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

Similar Colors

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

Choose another color

Select another color on color wheel.

Selected color: