COLOR #5A3380

HEX: #5A3380 RGB: (90,51,128)

Color info

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

RGB color model

#5A3380 color RGB value is (90,51,128).

RGB: (90,51,128) (35%, 20%, 50%)

RGB channels and saturation

R 90 of 255 = 35%
G 51 of 255 = 20%
B 128 of 255 = 50%

90
51
128

R + G + B ~ 35%. #5A3380 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 51 + 128 = 269 (100%)
R 90 of 269 ~ 33.46%
G 51 of 269 ~ 18.96%
B 128 of 269 ~ 47.58'%

%33.46
%18.96
%47.58

CMYK color model

#5A3380 color CMYK value is (30,60,0,50).

  • cyan value is 29.69%
  • magenta value is 60.16%
  • yellow value is 0.00%
  • key color value is 49.80%

CMYK: (30,60,0,50)
C30M60Y0K50 (30%, 60%, 0%, 50%)
(0.30 / 0.60 / 0.00 / 0.50)

CMYK percentages

%29.69
%60.16
%0
%49.8

Codes

Color #5A3380 in popluar color models

5A 33 80
RGB 90 51 128
HSL 270° 43.02% 35.10%
HSB/HSV 270° 60.16% 50.20%
CMYK 29.69% 60.16% 0.00%
49.80%

Color #5A3380 in popluar number systems.

HEX 5A 33 80
Decimal 90 51 128
Binary 1011010 110011 10000000
Octal 132 63 200

Shades and tints

Shades of #5A3380

#5A3380
(90,51,128)
#522F75
(82,47,117)
#4A2B6A
(74,43,106)
#42275F
(66,39,95)
#3A2354
(58,35,84)
#321F49
(50,31,73)
#2A1B3E
(42,27,62)
#221733
(34,23,51)
#1A1328
(26,19,40)
#120F1D
(18,15,29)
#0A0B12
(10,11,18)
#000000
(0,0,0)

Tints of #5A3380

#5A3380
(90,51,128)
#69458B
(105,69,139)
#785796
(120,87,150)
#8769A1
(135,105,161)
#967BAC
(150,123,172)
#A58DB7
(165,141,183)
#B49FC2
(180,159,194)
#C3B1CD
(195,177,205)
#D2C3D8
(210,195,216)
#E1D5E3
(225,213,227)
#F0E7EE
(240,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A3380 color. Also use rgb(90,51,128) instead hex code.

Text Font Color

.myTextColor { color: #5A3380; }

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

This text font color is #5A3380.

Background Color

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

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

This div background color is #5A3380.

Border color

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

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

This div border color is #5A3380.

Opacity

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

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

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

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

This text has shadow with #5A3380 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A3380.

Preview

Color preview on black background

This text has color #5A3380 on black background.


Color preview on white background

This text has color #5A3380 on white background.


Black color preview on #5A3380 background

This text has black color on #5A3380 background.


White color preview on #5A3380 background

This text has white color on #5A3380 background.


Related colors

Complementary color

Complementary color for #hex is #A5CC7F.


I love getcolorcode.com

Triadic colors

1 #805A33 and #33805A with #5A3380 are triadic colors.

2 #80335A and #335A80 with #5A3380 are triadic colors.