COLOR #5A317B

HEX: #5A317B RGB: (90,49,123)

Color info

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

RGB color model

#5A317B color RGB value is (90,49,123).

RGB: (90,49,123) (35%, 19%, 48%)

RGB channels and saturation

R 90 of 255 = 35%
G 49 of 255 = 19%
B 123 of 255 = 48%

90
49
123

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

Portions of RGB colors in percentages

R + G + B = 90 + 49 + 123 = 262 (100%)
R 90 of 262 ~ 34.35%
G 49 of 262 ~ 18.7%
B 123 of 262 ~ 46.95'%

%34.35
%18.7
%46.95

CMYK color model

#5A317B color CMYK value is (27,60,0,52).

  • cyan value is 26.83%
  • magenta value is 60.16%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (27,60,0,52)
C27M60Y0K52 (27%, 60%, 0%, 52%)
(0.27 / 0.60 / 0.00 / 0.52)

CMYK percentages

%26.83
%60.16
%0
%51.76

Codes

Color #5A317B in popluar color models

5A 31 7B
RGB 90 49 123
HSL 273° 43.02% 33.73%
HSB/HSV 273° 60.16% 48.24%
CMYK 26.83% 60.16% 0.00%
51.76%

Color #5A317B in popluar number systems.

HEX 5A 31 7B
Decimal 90 49 123
Binary 1011010 110001 1111011
Octal 132 61 173

Shades and tints

Shades of #5A317B

#5A317B
(90,49,123)
#522D70
(82,45,112)
#4A2965
(74,41,101)
#42255A
(66,37,90)
#3A214F
(58,33,79)
#321D44
(50,29,68)
#2A1939
(42,25,57)
#22152E
(34,21,46)
#1A1123
(26,17,35)
#120D18
(18,13,24)
#0A090D
(10,9,13)
#000000
(0,0,0)

Tints of #5A317B

#5A317B
(90,49,123)
#694387
(105,67,135)
#785593
(120,85,147)
#87679F
(135,103,159)
#9679AB
(150,121,171)
#A58BB7
(165,139,183)
#B49DC3
(180,157,195)
#C3AFCF
(195,175,207)
#D2C1DB
(210,193,219)
#E1D3E7
(225,211,231)
#F0E5F3
(240,229,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5A317B color. Also use rgb(90,49,123) instead hex code.

Text Font Color

.myTextColor { color: #5A317B; }

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

This text font color is #5A317B.

Background Color

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

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

This div background color is #5A317B.

Border color

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

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

This div border color is #5A317B.

Opacity

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

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

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

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

This text has shadow with #5A317B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5A317B.

Preview

Color preview on black background

This text has color #5A317B on black background.


Color preview on white background

This text has color #5A317B on white background.


Black color preview on #5A317B background

This text has black color on #5A317B background.


White color preview on #5A317B background

This text has white color on #5A317B background.


Related colors

Complementary color

Complementary color for #hex is #A5CE84.


I love getcolorcode.com

Triadic colors

1 #7B5A31 and #317B5A with #5A317B are triadic colors.

2 #7B315A and #315A7B with #5A317B are triadic colors.