COLOR #4A1F6F

HEX: #4A1F6F
RGB: (74,31,111)

Color info

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

RGB color model

#4A1F6F color RGB value is (74,31,111).

  • red value is 74;
  • green value is 31;
  • blue value is 111.
RGB:
(74,31,111)
(29%,12%,44%)

RGB channels and saturation

R 74 of 255 = 29%
G 31 of 255 = 12%
B 111 of 255 = 44%

74
31
111

R + G + B ~ 28%. #4A1F6F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
74 + 31 + 111 = 216 (100%)
R 74 of 216 ~ 34.26%
G 31 of 216 ~ 14.35%
B 111 of 216 ~ 51.39%

%34.26
%14.35
%51.39

CMYK color model

#4A1F6F color CMYK value is (33,72,0,56).

  • cyan value is 33.33%
  • magenta value is 72.07%
  • yellow value is 0.00%
  • key color value is 56.47%
CMYK:
(33,72,0,56)
C33M72Y0K56 
(33%,72%,0%,56%)
(0.33/0.72/0.00/0.56)	

CMYK percentages

%33.33
%72.07
%0
%56.47

Codes

Color #4A1F6F in popluar color models

4A1F6F
RGB7431111
HSL272°56.34%27.84%
HSB/HSV272°72.07%43.53%
CMYK33.33%72.07%0.00%
56.47%

Color #4A1F6F in popluar number systems.

HEX4A1F6F
Decimal7431111
Binary1001010111111101111
Octal11237157

Shades and tints

Shades of #4A1F6F

#4A1F6F
(74,31,111)
#441D65
(68,29,101)
#3E1B5B
(62,27,91)
#381951
(56,25,81)
#321747
(50,23,71)
#2C153D
(44,21,61)
#261333
(38,19,51)
#201129
(32,17,41)
#1A0F1F
(26,15,31)
#140D15
(20,13,21)
#0E0B0B
(14,11,11)
#000000
(0,0,0)

Tints of #4A1F6F

#4A1F6F
(74,31,111)
#5A337C
(90,51,124)
#6A4789
(106,71,137)
#7A5B96
(122,91,150)
#8A6FA3
(138,111,163)
#9A83B0
(154,131,176)
#AA97BD
(170,151,189)
#BAABCA
(186,171,202)
#CABFD7
(202,191,215)
#DAD3E4
(218,211,228)
#EAE7F1
(234,231,241)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4A1F6F color. Also use rgb(74,31,111) instead hex code.

Text Font Color

.myTextColor { color: #4A1F6F; }

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

This text font color is #4A1F6F.


Background Color

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

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

This div background color is #4A1F6F.


Border color

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

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

This div border color is #4A1F6F.


Opacity

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

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

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

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

This text has shadow with #4A1F6F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4A1F6F on black background.


Color preview on white background

This text has color #4A1F6F on white background.



Black color preview on #4A1F6F background

This text has black color on #4A1F6F background.


White color preview on #4A1F6F background

This text has white color on #4A1F6F background.