COLOR #5A3976

HEX: #5A3976 RGB: (90,57,118)

Color info

#5A3976 contains mainly red and blue colors. Web safe color of #5A3976 is #663366 (or #636).

RGB color model

#5A3976 color RGB value is (90,57,118).

RGB: (90,57,118) (35%, 22%, 46%)

RGB channels and saturation

R 90 of 255 = 35%
G 57 of 255 = 22%
B 118 of 255 = 46%

90
57
118

R + G + B ~ 34%. #5A3976 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 57 + 118 = 265 (100%)
R 90 of 265 ~ 33.96%
G 57 of 265 ~ 21.51%
B 118 of 265 ~ 44.53'%

%33.96
%21.51
%44.53

CMYK color model

#5A3976 color CMYK value is (24,52,0,54).

  • cyan value is 23.73%
  • magenta value is 51.69%
  • yellow value is 0.00%
  • key color value is 53.73%

CMYK: (24,52,0,54)
C24M52Y0K54 (24%, 52%, 0%, 54%)
(0.24 / 0.52 / 0.00 / 0.54)

CMYK percentages

%23.73
%51.69
%0
%53.73

Codes

Color #5A3976 in popluar color models

5A 39 76
RGB 90 57 118
HSL 272° 34.86% 34.31%
HSB/HSV 272° 51.69% 46.27%
CMYK 23.73% 51.69% 0.00%
53.73%

Color #5A3976 in popluar number systems.

HEX 5A 39 76
Decimal 90 57 118
Binary 1011010 111001 1110110
Octal 132 71 166

Shades and tints

Shades of #5A3976

#5A3976
(90,57,118)
#52346C
(82,52,108)
#4A2F62
(74,47,98)
#422A58
(66,42,88)
#3A254E
(58,37,78)
#322044
(50,32,68)
#2A1B3A
(42,27,58)
#221630
(34,22,48)
#1A1126
(26,17,38)
#120C1C
(18,12,28)
#0A0712
(10,7,18)
#000000
(0,0,0)

Tints of #5A3976

#5A3976
(90,57,118)
#694B82
(105,75,130)
#785D8E
(120,93,142)
#876F9A
(135,111,154)
#9681A6
(150,129,166)
#A593B2
(165,147,178)
#B4A5BE
(180,165,190)
#C3B7CA
(195,183,202)
#D2C9D6
(210,201,214)
#E1DBE2
(225,219,226)
#F0EDEE
(240,237,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A3976 color. Also use rgb(90,57,118) instead hex code.

Text Font Color

.myTextColor { color: #5A3976; }

<p style="color:#5A3976">This sample text font color is #5A3976.</p>

This text font color is #5A3976.

Background Color

.myBgColor { background-color: #5A3976; }

<div style="background-color:#5A3976">Inner text</div>

This div background color is #5A3976.

Border color

.myBorderColor { border: 1px solid #5A3976; }

<div style="border:3px solid #5A3976">Div</div>

This div border color is #5A3976.

Opacity

.myOpacity80 { color: #5A3976; opacity: 0.8; }

<p style="color:#5A3976;opacity:0.8;">80%</p>

Text with #5A3976 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #5A3976;}

<p style="text-shadow: 3px 3px 1px #5A3976">Text here.</p>

This text has shadow with #5A3976 color.


.textShadow {text-shadow: 3px 3px 1px #5A3976', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #5A3976, 5px 5px 20px red">Text here.</p>

This text has shadow with #5A3976 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5A3976, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#5A3976, Direction=45, Strength=4)">Text</p>

This text has shadow with #5A3976 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #5A3976;
-webkit-box-shadow: 1px 1px 3px 2px #5A3976;
box-shadow: 1px 1px 3px 2px #5A3976;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #5A3976; -webkit-box-shadow: 1px 1px 3px 2px #5A3976; box-shadow:1px 1px 3px 2px #5A3976;">
Div content here
</div>

This div box has shadow with color #5A3976.

Preview

Color preview on black background

This text has color #5A3976 on black background.


Color preview on white background

This text has color #5A3976 on white background.


Black color preview on #5A3976 background

This text has black color on #5A3976 background.


White color preview on #5A3976 background

This text has white color on #5A3976 background.


Related colors

Complementary color

Complementary color for #hex is #A5C689.


I love getcolorcode.com

Triadic colors

1 #765A39 and #39765A with #5A3976 are triadic colors.

2 #76395A and #395A76 with #5A3976 are triadic colors.