COLOR #5A3498

HEX: #5A3498 RGB: (90,52,152)

Color info

#5A3498 contains mainly blue color. Web safe color of #5A3498 is #663399 (or #639).

RGB color model

#5A3498 color RGB value is (90,52,152).

RGB: (90,52,152) (35%, 20%, 60%)

RGB channels and saturation

R 90 of 255 = 35%
G 52 of 255 = 20%
B 152 of 255 = 60%

90
52
152

R + G + B ~ 38%. #5A3498 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 90 + 52 + 152 = 294 (100%)
R 90 of 294 ~ 30.61%
G 52 of 294 ~ 17.69%
B 152 of 294 ~ 51.7'%

%30.61
%17.69
%51.7

CMYK color model

#5A3498 color CMYK value is (41,66,0,40).

  • cyan value is 40.79%
  • magenta value is 65.79%
  • yellow value is 0.00%
  • key color value is 40.39%

CMYK: (41,66,0,40)
C41M66Y0K40 (41%, 66%, 0%, 40%)
(0.41 / 0.66 / 0.00 / 0.40)

CMYK percentages

%40.79
%65.79
%0
%40.39

Codes

Color #5A3498 in popluar color models

5A 34 98
RGB 90 52 152
HSL 263° 49.02% 40.00%
HSB/HSV 263° 65.79% 59.61%
CMYK 40.79% 65.79% 0.00%
40.39%

Color #5A3498 in popluar number systems.

HEX 5A 34 98
Decimal 90 52 152
Binary 1011010 110100 10011000
Octal 132 64 230

Shades and tints

Shades of #5A3498

#5A3498
(90,52,152)
#52308B
(82,48,139)
#4A2C7E
(74,44,126)
#422871
(66,40,113)
#3A2464
(58,36,100)
#322057
(50,32,87)
#2A1C4A
(42,28,74)
#22183D
(34,24,61)
#1A1430
(26,20,48)
#121023
(18,16,35)
#0A0C16
(10,12,22)
#000000
(0,0,0)

Tints of #5A3498

#5A3498
(90,52,152)
#6946A1
(105,70,161)
#7858AA
(120,88,170)
#876AB3
(135,106,179)
#967CBC
(150,124,188)
#A58EC5
(165,142,197)
#B4A0CE
(180,160,206)
#C3B2D7
(195,178,215)
#D2C4E0
(210,196,224)
#E1D6E9
(225,214,233)
#F0E8F2
(240,232,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A3498 color. Also use rgb(90,52,152) instead hex code.

Text Font Color

.myTextColor { color: #5A3498; }

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

This text font color is #5A3498.

Background Color

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

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

This div background color is #5A3498.

Border color

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

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

This div border color is #5A3498.

Opacity

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

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

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

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

This text has shadow with #5A3498 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A3498.

Preview

Color preview on black background

This text has color #5A3498 on black background.


Color preview on white background

This text has color #5A3498 on white background.


Black color preview on #5A3498 background

This text has black color on #5A3498 background.


White color preview on #5A3498 background

This text has white color on #5A3498 background.


Related colors

Complementary color

Complementary color for #hex is #A5CB67.


I love getcolorcode.com

Triadic colors

1 #985A34 and #34985A with #5A3498 are triadic colors.

2 #98345A and #345A98 with #5A3498 are triadic colors.