COLOR #4D1F72

HEX: #4D1F72 RGB: (77,31,114)

Color info

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

RGB color model

#4D1F72 color RGB value is (77,31,114).

RGB: (77,31,114) (30%, 12%, 45%)

RGB channels and saturation

R 77 of 255 = 30%
G 31 of 255 = 12%
B 114 of 255 = 45%

77
31
114

R + G + B ~ 29%. #4D1F72 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 77 + 31 + 114 = 222 (100%)
R 77 of 222 ~ 34.68%
G 31 of 222 ~ 13.96%
B 114 of 222 ~ 51.35'%

%34.68
%13.96
%51.35

CMYK color model

#4D1F72 color CMYK value is (32,73,0,55).

  • cyan value is 32.46%
  • magenta value is 72.81%
  • yellow value is 0.00%
  • key color value is 55.29%

CMYK: (32,73,0,55)
C32M73Y0K55 (32%, 73%, 0%, 55%)
(0.32 / 0.73 / 0.00 / 0.55)

CMYK percentages

%32.46
%72.81
%0
%55.29

Codes

Color #4D1F72 in popluar color models

4D 1F 72
RGB 77 31 114
HSL 273° 57.24% 28.43%
HSB/HSV 273° 72.81% 44.71%
CMYK 32.46% 72.81% 0.00%
55.29%

Color #4D1F72 in popluar number systems.

HEX 4D 1F 72
Decimal 77 31 114
Binary 1001101 11111 1110010
Octal 115 37 162

Shades and tints

Shades of #4D1F72

#4D1F72
(77,31,114)
#461D68
(70,29,104)
#3F1B5E
(63,27,94)
#381954
(56,25,84)
#31174A
(49,23,74)
#2A1540
(42,21,64)
#231336
(35,19,54)
#1C112C
(28,17,44)
#150F22
(21,15,34)
#0E0D18
(14,13,24)
#070B0E
(7,11,14)
#000000
(0,0,0)

Tints of #4D1F72

#4D1F72
(77,31,114)
#5D337E
(93,51,126)
#6D478A
(109,71,138)
#7D5B96
(125,91,150)
#8D6FA2
(141,111,162)
#9D83AE
(157,131,174)
#AD97BA
(173,151,186)
#BDABC6
(189,171,198)
#CDBFD2
(205,191,210)
#DDD3DE
(221,211,222)
#EDE7EA
(237,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4D1F72 color. Also use rgb(77,31,114) instead hex code.

Text Font Color

.myTextColor { color: #4D1F72; }

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

This text font color is #4D1F72.

Background Color

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

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

This div background color is #4D1F72.

Border color

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

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

This div border color is #4D1F72.

Opacity

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

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

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

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

This text has shadow with #4D1F72 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #4D1F72.

Preview

Color preview on black background

This text has color #4D1F72 on black background.


Color preview on white background

This text has color #4D1F72 on white background.


Black color preview on #4D1F72 background

This text has black color on #4D1F72 background.


White color preview on #4D1F72 background

This text has white color on #4D1F72 background.


Related colors

Complementary color

Complementary color for #hex is #B2E08D.


I love getcolorcode.com

Triadic colors

1 #724D1F and #1F724D with #4D1F72 are triadic colors.

2 #721F4D and #1F4D72 with #4D1F72 are triadic colors.