#502f9d hex color
In a RGB color space, hex #502f9d is composed of 31.4% red, 18.4% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 49% cyan, 70.1% magenta, 0% yellow and 38.4% black. It has a hue angle of 258 degrees, a saturation of 53.9% and a lightness of 40%. #502f9d color hex could be obtained by blending #a05eff with #00003b. Closest websafe color is: #663399.
-
- R 31
- G 18
- B 62
RGB color chart
-
- C 49
- M 70
- Y 0
- K 38
CMYK color chart
● #502f9d color description : Dark violet.
The hexadecimal color #502f9d has RGB values of R:80, G:47, B:157 and CMYK values of C:0.49, M:0.7, Y:0, K:0.38. Its decimal value is 5255069.
Hex triplet | 502f9d | #502f9d |
---|---|---|
RGB Decimal | 80, 47, 157 | rgb(80,47,157) |
RGB Percent | 31.4, 18.4, 61.6 | rgb(31.4%,18.4%,61.6%) |
CMYK | 49, 70, 0, 38 | |
HSL | 258°, 53.9, 40 | hsl(258,53.9%,40%) |
HSV (or HSB) | 258°, 70.1, 61.6 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 29.844, 41.618, -54.674 |
---|---|
XYZ | 10.41, 6.173, 32.539 |
xyY | 0.212, 0.126, 6.173 |
CIE-LCH | 29.844, 68.712, 307.279 |
CIE-LUV | 29.844, 3.767, -74.266 |
Hunter-Lab | 24.845, 31.309, -60.261 |
Binary | 01010000, 00101111, 10011101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #502f9d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #502f9d
This text has a font color of #502f9d.
<span style="color:#502f9d;">Text here</span>
#502f9d background color
This paragraph has a background color of #502f9d.
<p style="background-color:#502f9d;">Content here</p>
#502f9d border color
This element has a border color of #502f9d.
<div style="border:1px solid #502f9d;">Content here</div>
CSS codes
.text {color:#502f9d;}
.background {background-color:#502f9d;}
.border {border:1px solid #502f9d;}
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, #030206 is the darkest color, while #f8f6fc is the lightest one.
-
#030206
#030206
rgb(3,2,6)
-
#0b0615
#0b0615
rgb(11,6,21)
-
#120b24
#120b24
rgb(18,11,36)
-
#1a0f33
#1a0f33
rgb(26,15,51)
-
#221442
#221442
rgb(34,20,66)
-
#2a1852
#2a1852
rgb(42,24,82)
-
#311d61
#311d61
rgb(49,29,97)
-
#392170
#392170
rgb(57,33,112)
-
#41267f
#41267f
rgb(65,38,127)
-
#482a8e
#482a8e
rgb(72,42,142)
-
#502f9d
#502f9d
rgb(80,47,157)
-
#5834ac
#5834ac
rgb(88,52,172)
-
#5f38bb
#5f38bb
rgb(95,56,187)
Shade Color Variation
-
#6941c6
#6941c6
rgb(105,65,198)
-
#7550cb
#7550cb
rgb(117,80,203)
-
#815fcf
#815fcf
rgb(129,95,207)
-
#8d6ed4
#8d6ed4
rgb(141,110,212)
-
#987dd8
#987dd8
rgb(152,125,216)
-
#a48cdd
#a48cdd
rgb(164,140,221)
-
#b09be1
#b09be1
rgb(176,155,225)
-
#bcaae6
#bcaae6
rgb(188,170,230)
-
#c8baea
#c8baea
rgb(200,186,234)
-
#d4c9ef
#d4c9ef
rgb(212,201,239)
-
#e0d8f3
#e0d8f3
rgb(224,216,243)
-
#ece7f8
#ece7f8
rgb(236,231,248)
-
#f8f6fc
#f8f6fc
rgb(248,246,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #666666 is the less saturated color, while #4008c4 is the most saturated one.
-
#666666
#666666
rgb(102,102,102)
-
#635e6e
#635e6e
rgb(99,94,110)
-
#605676
#605676
rgb(96,86,118)
-
#5d4e7e
#5d4e7e
rgb(93,78,126)
-
#594785
#594785
rgb(89,71,133)
-
#563f8d
#563f8d
rgb(86,63,141)
-
#533795
#533795
rgb(83,55,149)
-
#502f9d
#502f9d
rgb(80,47,157)
-
#4d27a5
#4d27a5
rgb(77,39,165)
-
#4a1fad
#4a1fad
rgb(74,31,173)
-
#4717b5
#4717b5
rgb(71,23,181)
-
#4310bc
#4310bc
rgb(67,16,188)
-
#4008c4
#4008c4
rgb(64,8,196)
Tone Color Variation
Below, you can see how #502f9d 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