COLOR #9D31B4

HEX: #9D31B4 RGB: (157,49,180)

Color info

#9D31B4 contains mainly red and blue colors. Web safe color of #9D31B4 is #9933CC (or #93C).

RGB color model

#9D31B4 color RGB value is (157,49,180).

RGB: (157,49,180) (62%, 19%, 71%)

RGB channels and saturation

R 157 of 255 = 62%
G 49 of 255 = 19%
B 180 of 255 = 71%

157
49
180

R + G + B ~ 51%. #9D31B4 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 157 + 49 + 180 = 386 (100%)
R 157 of 386 ~ 40.67%
G 49 of 386 ~ 12.69%
B 180 of 386 ~ 46.63'%

%40.67
%12.69
%46.63

CMYK color model

#9D31B4 color CMYK value is (13,73,0,29).

  • cyan value is 12.78%
  • magenta value is 72.78%
  • yellow value is 0.00%
  • key color value is 29.41%
CMYK: (13,73,0,29) C13M73Y0K29 (13%,73%,0%,29%) (0.13/0.73/0.00/0.29) 

CMYK percentages

%12.78
%72.78
%0
%29.41

Codes

Color #9D31B4 in popluar color models

9D 31 B4
RGB 157 49 180
HSL 289° 57.21% 44.90%
HSB/HSV 289° 72.78% 70.59%
CMYK 12.78% 72.78% 0.00%
29.41%

Color #9D31B4 in popluar number systems.

HEX 9D 31 B4
Decimal 157 49 180
Binary 10011101 110001 10110100
Octal 235 61 264

Shades and tints

Shades of #9D31B4

#9D31B4
(157,49,180)
#8F2DA4
(143,45,164)
#812994
(129,41,148)
#732584
(115,37,132)
#652174
(101,33,116)
#571D64
(87,29,100)
#491954
(73,25,84)
#3B1544
(59,21,68)
#2D1134
(45,17,52)
#1F0D24
(31,13,36)
#110914
(17,9,20)
#000000
(0,0,0)

Tints of #9D31B4

#9D31B4
(157,49,180)
#A543BA
(165,67,186)
#AD55C0
(173,85,192)
#B567C6
(181,103,198)
#BD79CC
(189,121,204)
#C58BD2
(197,139,210)
#CD9DD8
(205,157,216)
#D5AFDE
(213,175,222)
#DDC1E4
(221,193,228)
#E5D3EA
(229,211,234)
#EDE5F0
(237,229,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #9D31B4 color. Also use rgb(157,49,180) instead hex code.

Text Font Color

.myTextColor { color: #9D31B4; }

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

This text font color is #9D31B4.

Background Color

.myBgColor { background-color: #9D31B4; }

<div style="background-color:#9D31B4">Inner text</div>

This div background color is #9D31B4.

Border color

.myBorderColor { border: 1px solid #9D31B4; }

<div style="border:3px solid #9D31B4">Div</div>

This div border color is #9D31B4.

Opacity

.myOpacity80 { color: #9D31B4; opacity: 0.8; }

<p style="color:#9D31B4;opacity:0.8;">80%</p>

Text with #9D31B4 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 #9D31B4;}

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

This text has shadow with #9D31B4 color.


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

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

This text has shadow with #9D31B4 primary color and red secondary color.


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

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

This text has shadow with #9D31B4 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #9D31B4.

Preview

Color preview on black background

This text has color #9D31B4 on black background.


Color preview on white background

This text has color #9D31B4 on white background.


Black color preview on #9D31B4 background

This text has black color on #9D31B4 background.


White color preview on #9D31B4 background

This text has white color on #9D31B4 background.


Related colors

Complementary color

Complementary color for #hex is #62CE4B.


I love getcolorcode.com

Triadic colors

1 #B49D31 and #31B49D with #9D31B4 are triadic colors.

2 #B4319D and #319DB4 with #9D31B4 are triadic colors.