COLOR #5F3158

HEX: #5F3158 RGB: (95,49,88)

Color info

#5F3158 contains red, green and blue colors in about the same proportion. Web safe color of #5F3158 is #663366 (or #636).

RGB color model

#5F3158 color RGB value is (95,49,88).

RGB: (95,49,88) (37%, 19%, 35%)

RGB channels and saturation

R 95 of 255 = 37%
G 49 of 255 = 19%
B 88 of 255 = 35%

95
49
88

R + G + B ~ 30%. #5F3158 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 95 + 49 + 88 = 232 (100%)
R 95 of 232 ~ 40.95%
G 49 of 232 ~ 21.12%
B 88 of 232 ~ 37.93'%

%40.95
%21.12
%37.93

CMYK color model

#5F3158 color CMYK value is (0,48,7,63).

  • cyan value is 0.00%
  • magenta value is 48.42%
  • yellow value is 7.37%
  • key color value is 62.75%

CMYK: (0,48,7,63)
C0M48Y7K63 (0%, 48%, 7%, 63%)
(0.00 / 0.48 / 0.07 / 0.63)

CMYK percentages

%0
%48.42
%7.37
%62.75

Codes

Color #5F3158 in popluar color models

5F 31 58
RGB 95 49 88
HSL 309° 31.94% 28.24%
HSB/HSV 309° 48.42% 37.25%
CMYK 0.00% 48.42% 7.37%
62.75%

Color #5F3158 in popluar number systems.

HEX 5F 31 58
Decimal 95 49 88
Binary 1011111 110001 1011000
Octal 137 61 130

Shades and tints

Shades of #5F3158

#5F3158
(95,49,88)
#572D50
(87,45,80)
#4F2948
(79,41,72)
#472540
(71,37,64)
#3F2138
(63,33,56)
#371D30
(55,29,48)
#2F1928
(47,25,40)
#271520
(39,21,32)
#1F1118
(31,17,24)
#170D10
(23,13,16)
#0F0908
(15,9,8)
#000000
(0,0,0)

Tints of #5F3158

#5F3158
(95,49,88)
#6D4367
(109,67,103)
#7B5576
(123,85,118)
#896785
(137,103,133)
#977994
(151,121,148)
#A58BA3
(165,139,163)
#B39DB2
(179,157,178)
#C1AFC1
(193,175,193)
#CFC1D0
(207,193,208)
#DDD3DF
(221,211,223)
#EBE5EE
(235,229,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #5F3158 color. Also use rgb(95,49,88) instead hex code.

Text Font Color

.myTextColor { color: #5F3158; }

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

This text font color is #5F3158.

Background Color

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

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

This div background color is #5F3158.

Border color

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

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

This div border color is #5F3158.

Opacity

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

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

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

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

This text has shadow with #5F3158 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #5F3158.

Preview

Color preview on black background

This text has color #5F3158 on black background.


Color preview on white background

This text has color #5F3158 on white background.


Black color preview on #5F3158 background

This text has black color on #5F3158 background.


White color preview on #5F3158 background

This text has white color on #5F3158 background.


Related colors

Complementary color

Complementary color for #hex is #A0CEA7.


I love getcolorcode.com

Triadic colors

1 #585F31 and #31585F with #5F3158 are triadic colors.

2 #58315F and #315F58 with #5F3158 are triadic colors.