COLOR #7F3398

HEX: #7F3398 RGB: (127,51,152)

Color info

#7F3398 contains mainly red and blue colors. Web safe color of #7F3398 is #663399 (or #639).

RGB color model

#7F3398 color RGB value is (127,51,152).

RGB: (127,51,152) (50%, 20%, 60%)

RGB channels and saturation

R 127 of 255 = 50%
G 51 of 255 = 20%
B 152 of 255 = 60%

127
51
152

R + G + B ~ 43%. #7F3398 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 127 + 51 + 152 = 330 (100%)
R 127 of 330 ~ 38.48%
G 51 of 330 ~ 15.45%
B 152 of 330 ~ 46.06'%

%38.48
%15.45
%46.06

CMYK color model

#7F3398 color CMYK value is (16,66,0,40).

  • cyan value is 16.45%
  • magenta value is 66.45%
  • yellow value is 0.00%
  • key color value is 40.39%

CMYK: (16,66,0,40)
C16M66Y0K40 (16%, 66%, 0%, 40%)
(0.16 / 0.66 / 0.00 / 0.40)

CMYK percentages

%16.45
%66.45
%0
%40.39

Codes

Color #7F3398 in popluar color models

7F 33 98
RGB 127 51 152
HSL 285° 49.75% 39.80%
HSB/HSV 285° 66.45% 59.61%
CMYK 16.45% 66.45% 0.00%
40.39%

Color #7F3398 in popluar number systems.

HEX 7F 33 98
Decimal 127 51 152
Binary 1111111 110011 10011000
Octal 177 63 230

Shades and tints

Shades of #7F3398

#7F3398
(127,51,152)
#742F8B
(116,47,139)
#692B7E
(105,43,126)
#5E2771
(94,39,113)
#532364
(83,35,100)
#481F57
(72,31,87)
#3D1B4A
(61,27,74)
#32173D
(50,23,61)
#271330
(39,19,48)
#1C0F23
(28,15,35)
#110B16
(17,11,22)
#000000
(0,0,0)

Tints of #7F3398

#7F3398
(127,51,152)
#8A45A1
(138,69,161)
#9557AA
(149,87,170)
#A069B3
(160,105,179)
#AB7BBC
(171,123,188)
#B68DC5
(182,141,197)
#C19FCE
(193,159,206)
#CCB1D7
(204,177,215)
#D7C3E0
(215,195,224)
#E2D5E9
(226,213,233)
#EDE7F2
(237,231,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7F3398 color. Also use rgb(127,51,152) instead hex code.

Text Font Color

.myTextColor { color: #7F3398; }

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

This text font color is #7F3398.

Background Color

.myBgColor { background-color: #7F3398; }

<div style="background-color:#7F3398">Inner text</div>

This div background color is #7F3398.

Border color

.myBorderColor { border: 1px solid #7F3398; }

<div style="border:3px solid #7F3398">Div</div>

This div border color is #7F3398.

Opacity

.myOpacity80 { color: #7F3398; opacity: 0.8; }

<p style="color:#7F3398;opacity:0.8;">80%</p>

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

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

This text has shadow with #7F3398 color.


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

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

This text has shadow with #7F3398 primary color and red secondary color.


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

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

This text has shadow with #7F3398 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #7F3398.

Preview

Color preview on black background

This text has color #7F3398 on black background.


Color preview on white background

This text has color #7F3398 on white background.


Black color preview on #7F3398 background

This text has black color on #7F3398 background.


White color preview on #7F3398 background

This text has white color on #7F3398 background.


Related colors

Complementary color

Complementary color for #hex is #80CC67.


I love getcolorcode.com

Triadic colors

1 #987F33 and #33987F with #7F3398 are triadic colors.

2 #98337F and #337F98 with #7F3398 are triadic colors.