Shades of Purple Heart #402AB4
Tints of Purple Heart #402AB4
RGB
CMYK
RGB Variations
Color information
#402AB4 (or 0x402AB4) is known color: Purple Heart. HEX triplet: 40, 2A and B4. RGB value is (64,42,180). Sum of RGB (Red+Green+Blue) = 64+42+180=286 (37% of max value = 765). Red value is 64 (25.39% from 255 or 22.38% from 286); Green value is 42 (16.80% from 255 or 14.69% from 286); Blue value is 180 (70.70% from 255 or 62.94% from 286); Max value from RGB is 180 - color contains mainly: blue. Hex color #402AB4 is not a web safe color. Web safe color analog (approx): #3333CC. Inversed color of #402AB4 is #BFD54B. Grayscale: #3F3F3F. Windows color (decimal): -12571980 or 11807296. OLE color: 11807296.
HSL color Cylindrical-coordinate representation of color #402AB4: hue angle of 249.57º degrees, saturation: 0.62, lightness: 0.44%. HSV value (or HSB Brightness) of color is 0.71% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #402AB4 is Cyan = 0.64, Magento = 0.77, Yellow = 0 and Black (K on CMYK) = 0.29.
Color convert
| RGB | 64 | 42 | 180 | - |
| CMYK | 0.64 | 0.77 | 0 | 0.29 |
| HSL | 249.57º | 0.62% | 0.44% | - |
| HSV(B) | 249.57º | 0.77% | 0.71% | - |
| XYZ | 11.18 | 6.04 | 43.76 | - |
| YUV | 64.31 | 193.29 | 127.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 42 | 180 | 0.64 | 0.77 | 0 | 0.29 | 249.57 | 0.62 | 0.44 |
| Hex | 40 | 2A | B4 | 40 | 4D | 0 | 1D | FA | 3E | 2C |
| Octal | 100 | 52 | 264 | 100 | 115 | 0 | 35 | 372 | 76 | 54 |
| Binary | 1000000 | 101010 | 10110100 | 1000000 | 1001101 | 0 | 11101 | 11111010 | 111110 | 101100 |
Color Harmonies of #402AB4
Complementary color
Monochromatic Colors of #402AB4
Black with #402AB4
Text Example
Text Example
White with #402AB4
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402AB4; }
p { color: rgb(64,42,180); }
H1.HeaderClassName
{
color: #402AB4;
}
.AnyTagClassName
{
color: #402AB4;
}
</style>
background-color css
<style>
a { background-color: #402AB4; }
a { background-color: rgb(64,42,180); }
div.DivClassName
{
background-color: #402AB4;
}
.BgClassName
{
background-color: #402AB4;
}
</style>
border-color css
<style>
span { border-color: #402AB4; }
span { border-color: rgb(64,42,180); }
td.TdClassName
{
border-color: #402AB4;
}
.TagClassName
{
border-color: #402AB4;
}
</style>