COLOR #4D317F

HEX: #4D317F RGB: (77,49,127)

Color info

#4D317F contains mainly red and blue colors. Web safe color of #4D317F is #333366 (or #336).

RGB color model

#4D317F color RGB value is (77,49,127).

RGB: (77,49,127) (30%, 19%, 50%)

RGB channels and saturation

R 77 of 255 = 30%
G 49 of 255 = 19%
B 127 of 255 = 50%

77
49
127

R + G + B ~ 33%. #4D317F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 77 + 49 + 127 = 253 (100%)
R 77 of 253 ~ 30.43%
G 49 of 253 ~ 19.37%
B 127 of 253 ~ 50.2'%

%30.43
%19.37
%50.2

CMYK color model

#4D317F color CMYK value is (39,61,0,50).

  • cyan value is 39.37%
  • magenta value is 61.42%
  • yellow value is 0.00%
  • key color value is 50.20%

CMYK: (39,61,0,50)
C39M61Y0K50 (39%, 61%, 0%, 50%)
(0.39 / 0.61 / 0.00 / 0.50)

CMYK percentages

%39.37
%61.42
%0
%50.2

Codes

Color #4D317F in popluar color models

4D 31 7F
RGB 77 49 127
HSL 262° 44.32% 34.51%
HSB/HSV 262° 61.42% 49.80%
CMYK 39.37% 61.42% 0.00%
50.20%

Color #4D317F in popluar number systems.

HEX 4D 31 7F
Decimal 77 49 127
Binary 1001101 110001 1111111
Octal 115 61 177

Shades and tints

Shades of #4D317F

#4D317F
(77,49,127)
#462D74
(70,45,116)
#3F2969
(63,41,105)
#38255E
(56,37,94)
#312153
(49,33,83)
#2A1D48
(42,29,72)
#23193D
(35,25,61)
#1C1532
(28,21,50)
#151127
(21,17,39)
#0E0D1C
(14,13,28)
#070911
(7,9,17)
#000000
(0,0,0)

Tints of #4D317F

#4D317F
(77,49,127)
#5D438A
(93,67,138)
#6D5595
(109,85,149)
#7D67A0
(125,103,160)
#8D79AB
(141,121,171)
#9D8BB6
(157,139,182)
#AD9DC1
(173,157,193)
#BDAFCC
(189,175,204)
#CDC1D7
(205,193,215)
#DDD3E2
(221,211,226)
#EDE5ED
(237,229,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4D317F color. Also use rgb(77,49,127) instead hex code.

Text Font Color

.myTextColor { color: #4D317F; }

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

This text font color is #4D317F.

Background Color

.myBgColor { background-color: #4D317F; }

<div style="background-color:#4D317F">Inner text</div>

This div background color is #4D317F.

Border color

.myBorderColor { border: 1px solid #4D317F; }

<div style="border:3px solid #4D317F">Div</div>

This div border color is #4D317F.

Opacity

.myOpacity80 { color: #4D317F; opacity: 0.8; }

<p style="color:#4D317F;opacity:0.8;">80%</p>

Text with #4D317F 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 #4D317F;}

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

This text has shadow with #4D317F color.


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

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

This text has shadow with #4D317F primary color and red secondary color.


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

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

This text has shadow with #4D317F and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #4D317F.

Preview

Color preview on black background

This text has color #4D317F on black background.


Color preview on white background

This text has color #4D317F on white background.


Black color preview on #4D317F background

This text has black color on #4D317F background.


White color preview on #4D317F background

This text has white color on #4D317F background.


Related colors

Complementary color

Complementary color for #hex is #B2CE80.


I love getcolorcode.com

Triadic colors

1 #7F4D31 and #317F4D with #4D317F are triadic colors.

2 #7F314D and #314D7F with #4D317F are triadic colors.