#502040 hex color
In a RGB color space, hex #502040 is composed of 31.4% red, 12.5% green and 25.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 60% magenta, 20% yellow and 68.6% black. It has a hue angle of 320 degrees, a saturation of 42.9% and a lightness of 22%. #502040 color hex could be obtained by blending #a04080 with #000000. Closest websafe color is: #663333.
-
- R 31
- G 13
- B 25
RGB color chart
-
- C 0
- M 60
- Y 20
- K 69
CMYK color chart
● #502040 color description : Very dark pink.
The hexadecimal color #502040 has RGB values of R:80, G:32, B:64 and CMYK values of C:0, M:0.6, Y:0.2, K:0.69. Its decimal value is 5251136.
Hex triplet | 502040 | #502040 |
---|---|---|
RGB Decimal | 80, 32, 64 | rgb(80,32,64) |
RGB Percent | 31.4, 12.5, 25.1 | rgb(31.4%,12.5%,25.1%) |
CMYK | 0, 60, 20, 69 | |
HSL | 320°, 42.9, 22 | hsl(320,42.9%,22%) |
HSV (or HSB) | 320°, 60, 31.4 | |
Web Safe | 663333 | #663333 |
CIE-LAB | 20.475, 26.953, -9.675 |
---|---|
XYZ | 4.75, 3.109, 5.2 |
xyY | 0.364, 0.238, 3.109 |
CIE-LCH | 20.475, 28.637, 340.255 |
CIE-LUV | 20.475, 22.842, -13.474 |
Hunter-Lab | 17.632, 17.232, -5.143 |
Binary | 01010000, 00100000, 01000000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #502040. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #502040
This text has a font color of #502040.
<span style="color:#502040;">Text here</span>
#502040 background color
This paragraph has a background color of #502040.
<p style="background-color:#502040;">Content here</p>
#502040 border color
This element has a border color of #502040.
<div style="border:1px solid #502040;">Content here</div>
CSS codes
.text {color:#502040;}
.background {background-color:#502040;}
.border {border:1px solid #502040;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #0a0408 is the darkest color, while #fdfbfd is the lightest one.
-
#0a0408
#0a0408
rgb(10,4,8)
-
#180a13
#180a13
rgb(24,10,19)
-
#260f1e
#260f1e
rgb(38,15,30)
-
#34152a
#34152a
rgb(52,21,42)
-
#421a35
#421a35
rgb(66,26,53)
-
#502040
#502040
rgb(80,32,64)
-
#5e264b
#5e264b
rgb(94,38,75)
-
#6c2b56
#6c2b56
rgb(108,43,86)
-
#7a3162
#7a3162
rgb(122,49,98)
-
#88366d
#88366d
rgb(136,54,109)
-
#963c78
#963c78
rgb(150,60,120)
-
#a44283
#a44283
rgb(164,66,131)
-
#b2478e
#b2478e
rgb(178,71,142)
Shade Color Variation
-
#ba5398
#ba5398
rgb(186,83,152)
-
#c061a0
#c061a0
rgb(192,97,160)
-
#c56fa8
#c56fa8
rgb(197,111,168)
-
#cb7db1
#cb7db1
rgb(203,125,177)
-
#d18bb9
#d18bb9
rgb(209,139,185)
-
#d699c2
#d699c2
rgb(214,153,194)
-
#dca7ca
#dca7ca
rgb(220,167,202)
-
#e1b5d3
#e1b5d3
rgb(225,181,211)
-
#e7c3db
#e7c3db
rgb(231,195,219)
-
#edd1e3
#edd1e3
rgb(237,209,227)
-
#f2dfec
#f2dfec
rgb(242,223,236)
-
#f8edf4
#f8edf4
rgb(248,237,244)
-
#fdfbfd
#fdfbfd
rgb(253,251,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3a3639 is the less saturated color, while #6e024a is the most saturated one.
-
#3a3639
#3a3639
rgb(58,54,57)
-
#3f313a
#3f313a
rgb(63,49,58)
-
#432d3c
#432d3c
rgb(67,45,60)
-
#47293d
#47293d
rgb(71,41,61)
-
#4c243f
#4c243f
rgb(76,36,63)
-
#502040
#502040
rgb(80,32,64)
-
#541c41
#541c41
rgb(84,28,65)
-
#591743
#591743
rgb(89,23,67)
-
#5d1344
#5d1344
rgb(93,19,68)
-
#610f46
#610f46
rgb(97,15,70)
-
#660a47
#660a47
rgb(102,10,71)
-
#6a0649
#6a0649
rgb(106,6,73)
-
#6e024a
#6e024a
rgb(110,2,74)
Tone Color Variation
Below, you can see how #502040 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy