Shades of Violent Violet #312242
Tints of Violent Violet #312242
RGB
CMYK
RGB Variations
Color information
#312242 (or 0x312242) is known color: Violent Violet. HEX triplet: 31, 22 and 42. RGB value is (49,34,66). Sum of RGB (Red+Green+Blue) = 49+34+66=149 (19% of max value = 765). Red value is 49 (19.53% from 255 or 32.89% from 149); Green value is 34 (13.67% from 255 or 22.82% from 149); Blue value is 66 (26.17% from 255 or 44.30% from 149); Max value from RGB is 66 - color contains mainly: blue. Hex color #312242 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #312242 is #CEDDBD. Grayscale: #2A2A2A. Windows color (decimal): -13557182 or 4334129. OLE color: 4334129.
HSL color Cylindrical-coordinate representation of color #312242: hue angle of 268.12º degrees, saturation: 0.32, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.48%. Process color model (Four color, CMYK) of #312242 is Cyan = 0.26, Magento = 0.48, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 49 | 34 | 66 | - |
| CMYK | 0.26 | 0.48 | 0 | 0.74 |
| HSL | 268.13º | 0.32% | 0.2% | - |
| HSV(B) | 268.13º | 0.48% | 0.26% | - |
| XYZ | 2.82 | 2.19 | 5.43 | - |
| YUV | 42.13 | 141.47 | 132.9 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 49 | 34 | 66 | 0.26 | 0.48 | 0 | 0.74 | 268.13 | 0.32 | 0.2 |
| Hex | 31 | 22 | 42 | 1A | 30 | 0 | 4A | 10C | 20 | 14 |
| Octal | 61 | 42 | 102 | 32 | 60 | 0 | 112 | 414 | 40 | 24 |
| Binary | 110001 | 100010 | 1000010 | 11010 | 110000 | 0 | 1001010 | 100001100 | 100000 | 10100 |
Color Harmonies of #312242
Complementary color
Monochromatic Colors of #312242
Black with #312242
Text Example
Text Example
White with #312242
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #312242; }
p { color: rgb(49,34,66); }
H1.HeaderClassName
{
color: #312242;
}
.AnyTagClassName
{
color: #312242;
}
</style>
background-color css
<style>
a { background-color: #312242; }
a { background-color: rgb(49,34,66); }
div.DivClassName
{
background-color: #312242;
}
.BgClassName
{
background-color: #312242;
}
</style>
border-color css
<style>
span { border-color: #312242; }
span { border-color: rgb(49,34,66); }
td.TdClassName
{
border-color: #312242;
}
.TagClassName
{
border-color: #312242;
}
</style>