COLOR #5B3B8A

HEX: #5B3B8A
RGB: (91,59,138)

Color info

#5B3B8A contains mainly red and blue colors. Web safe color of #5B3B8A is #663399 (or #639).

RGB color model

#5B3B8A color RGB value is (91,59,138).

  • red value is 91;
  • green value is 59;
  • blue value is 138.
RGB:
(91,59,138)
(36%,23%,54%)

RGB channels and saturation

R 91 of 255 = 36%
G 59 of 255 = 23%
B 138 of 255 = 54%

91
59
138

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

Portions of RGB colors in percentages

R + G + B =
91 + 59 + 138 = 288 (100%)
R 91 of 288 ~ 31.6%
G 59 of 288 ~ 20.49%
B 138 of 288 ~ 47.92%

%31.6
%20.49
%47.92

CMYK color model

#5B3B8A color CMYK value is (34,57,0,46).

  • cyan value is 34.06%
  • magenta value is 57.25%
  • yellow value is 0.00%
  • key color value is 45.88%
CMYK:
(34,57,0,46)
C34M57Y0K46 
(34%,57%,0%,46%)
(0.34/0.57/0.00/0.46)	

CMYK percentages

%34.06
%57.25
%0
%45.88

Codes

Color #5B3B8A in popluar color models

5B3B8A
RGB9159138
HSL264°40.10%38.63%
HSB/HSV264°57.25%54.12%
CMYK34.06%57.25%0.00%
45.88%

Color #5B3B8A in popluar number systems.

HEX5B3B8A
Decimal9159138
Binary101101111101110001010
Octal13373212

Shades and tints

Shades of #5B3B8A

#5B3B8A
(91,59,138)
#53367E
(83,54,126)
#4B3172
(75,49,114)
#432C66
(67,44,102)
#3B275A
(59,39,90)
#33224E
(51,34,78)
#2B1D42
(43,29,66)
#231836
(35,24,54)
#1B132A
(27,19,42)
#130E1E
(19,14,30)
#0B0912
(11,9,18)
#000000
(0,0,0)

Tints of #5B3B8A

#5B3B8A
(91,59,138)
#694C94
(105,76,148)
#775D9E
(119,93,158)
#856EA8
(133,110,168)
#937FB2
(147,127,178)
#A190BC
(161,144,188)
#AFA1C6
(175,161,198)
#BDB2D0
(189,178,208)
#CBC3DA
(203,195,218)
#D9D4E4
(217,212,228)
#E7E5EE
(231,229,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5B3B8A color. Also use rgb(91,59,138) instead hex code.

Text Font Color

.myTextColor { color: #5B3B8A; }

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

This text font color is #5B3B8A.


Background Color

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

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

This div background color is #5B3B8A.


Border color

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

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

This div border color is #5B3B8A.


Opacity

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

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

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

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

This text has shadow with #5B3B8A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #5B3B8A on black background.


Color preview on white background

This text has color #5B3B8A on white background.



Black color preview on #5B3B8A background

This text has black color on #5B3B8A background.


White color preview on #5B3B8A background

This text has white color on #5B3B8A background.