COLOR #5A3A7C

HEX: #5A3A7C RGB: (90,58,124)

Color info

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

RGB color model

#5A3A7C color RGB value is (90,58,124).

RGB: (90,58,124) (35%, 23%, 49%)

RGB channels and saturation

R 90 of 255 = 35%
G 58 of 255 = 23%
B 124 of 255 = 49%

90
58
124

R + G + B ~ 36%. #5A3A7C is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 58 + 124 = 272 (100%)
R 90 of 272 ~ 33.09%
G 58 of 272 ~ 21.32%
B 124 of 272 ~ 45.59'%

%33.09
%21.32
%45.59

CMYK color model

#5A3A7C color CMYK value is (27,53,0,51).

  • cyan value is 27.42%
  • magenta value is 53.23%
  • yellow value is 0.00%
  • key color value is 51.37%

CMYK: (27,53,0,51)
C27M53Y0K51 (27%, 53%, 0%, 51%)
(0.27 / 0.53 / 0.00 / 0.51)

CMYK percentages

%27.42
%53.23
%0
%51.37

Codes

Color #5A3A7C in popluar color models

5A 3A 7C
RGB 90 58 124
HSL 269° 36.26% 35.69%
HSB/HSV 269° 53.23% 48.63%
CMYK 27.42% 53.23% 0.00%
51.37%

Color #5A3A7C in popluar number systems.

HEX 5A 3A 7C
Decimal 90 58 124
Binary 1011010 111010 1111100
Octal 132 72 174

Shades and tints

Shades of #5A3A7C

#5A3A7C
(90,58,124)
#523571
(82,53,113)
#4A3066
(74,48,102)
#422B5B
(66,43,91)
#3A2650
(58,38,80)
#322145
(50,33,69)
#2A1C3A
(42,28,58)
#22172F
(34,23,47)
#1A1224
(26,18,36)
#120D19
(18,13,25)
#0A080E
(10,8,14)
#000000
(0,0,0)

Tints of #5A3A7C

#5A3A7C
(90,58,124)
#694B87
(105,75,135)
#785C92
(120,92,146)
#876D9D
(135,109,157)
#967EA8
(150,126,168)
#A58FB3
(165,143,179)
#B4A0BE
(180,160,190)
#C3B1C9
(195,177,201)
#D2C2D4
(210,194,212)
#E1D3DF
(225,211,223)
#F0E4EA
(240,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A3A7C color. Also use rgb(90,58,124) instead hex code.

Text Font Color

.myTextColor { color: #5A3A7C; }

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

This text font color is #5A3A7C.

Background Color

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

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

This div background color is #5A3A7C.

Border color

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

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

This div border color is #5A3A7C.

Opacity

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

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

Text with #5A3A7C 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 #5A3A7C;}

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

This text has shadow with #5A3A7C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A3A7C.

Preview

Color preview on black background

This text has color #5A3A7C on black background.


Color preview on white background

This text has color #5A3A7C on white background.


Black color preview on #5A3A7C background

This text has black color on #5A3A7C background.


White color preview on #5A3A7C background

This text has white color on #5A3A7C background.


Related colors

Complementary color

Complementary color for #hex is #A5C583.


I love getcolorcode.com

Triadic colors

1 #7C5A3A and #3A7C5A with #5A3A7C are triadic colors.

2 #7C3A5A and #3A5A7C with #5A3A7C are triadic colors.