#5a2f72 hex color
In a RGB color space, hex #5a2f72 is composed of 35.3% red, 18.4% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 21.1% cyan, 58.8% magenta, 0% yellow and 55.3% black. It has a hue angle of 278.5 degrees, a saturation of 41.6% and a lightness of 31.6%. #5a2f72 color hex could be obtained by blending #b45ee4 with #000000. Closest websafe color is: #663366.
-
- R 35
- G 18
- B 45
RGB color chart
-
- C 21
- M 59
- Y 0
- K 55
CMYK color chart
● #5a2f72 color description : Very dark desaturated violet.
The hexadecimal color #5a2f72 has RGB values of R:90, G:47, B:114 and CMYK values of C:0.21, M:0.59, Y:0, K:0.55. Its decimal value is 5910386.
Hex triplet | 5a2f72 | #5a2f72 |
---|---|---|
RGB Decimal | 90, 47, 114 | rgb(90,47,114) |
RGB Percent | 35.3, 18.4, 44.7 | rgb(35.3%,18.4%,44.7%) |
CMYK | 21, 59, 0, 55 | |
HSL | 278.5°, 41.6, 31.6 | hsl(278.5,41.6%,31.6%) |
HSV (or HSB) | 278.5°, 58.8, 44.7 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 27.904, 32.317, -30.995 |
---|---|
XYZ | 8.27, 5.422, 16.53 |
xyY | 0.274, 0.179, 5.422 |
CIE-LCH | 27.904, 44.778, 316.196 |
CIE-LUV | 27.904, 14.446, -42.715 |
Hunter-Lab | 23.285, 22.648, -25.79 |
Binary | 01011010, 00101111, 01110010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a2f72. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a2f72
This text has a font color of #5a2f72.
<span style="color:#5a2f72;">Text here</span>
#5a2f72 background color
This paragraph has a background color of #5a2f72.
<p style="background-color:#5a2f72;">Content here</p>
#5a2f72 border color
This element has a border color of #5a2f72.
<div style="border:1px solid #5a2f72;">Content here</div>
CSS codes
.text {color:#5a2f72;}
.background {background-color:#5a2f72;}
.border {border:1px solid #5a2f72;}
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, #020103 is the darkest color, while #f8f4fa is the lightest one.
-
#020103
#020103
rgb(2,1,3)
-
#0d0711
#0d0711
rgb(13,7,17)
-
#180d1f
#180d1f
rgb(24,13,31)
-
#23122d
#23122d
rgb(35,18,45)
-
#2e183a
#2e183a
rgb(46,24,58)
-
#391e48
#391e48
rgb(57,30,72)
-
#442456
#442456
rgb(68,36,86)
-
#4f2964
#4f2964
rgb(79,41,100)
-
#5a2f72
#5a2f72
rgb(90,47,114)
-
#653580
#653580
rgb(101,53,128)
-
#703a8e
#703a8e
rgb(112,58,142)
-
#7b409c
#7b409c
rgb(123,64,156)
-
#8646aa
#8646aa
rgb(134,70,170)
Shade Color Variation
-
#904db6
#904db6
rgb(144,77,182)
-
#995bbb
#995bbb
rgb(153,91,187)
-
#a269c1
#a269c1
rgb(162,105,193)
-
#aa77c7
#aa77c7
rgb(170,119,199)
-
#b385cd
#b385cd
rgb(179,133,205)
-
#bc93d2
#bc93d2
rgb(188,147,210)
-
#c4a1d8
#c4a1d8
rgb(196,161,216)
-
#cdafde
#cdafde
rgb(205,175,222)
-
#d6bce4
#d6bce4
rgb(214,188,228)
-
#decae9
#decae9
rgb(222,202,233)
-
#e7d8ef
#e7d8ef
rgb(231,216,239)
-
#efe6f5
#efe6f5
rgb(239,230,245)
-
#f8f4fa
#f8f4fa
rgb(248,244,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #514e53 is the less saturated color, while #66049d is the most saturated one.
-
#514e53
#514e53
rgb(81,78,83)
-
#534859
#534859
rgb(83,72,89)
-
#55425f
#55425f
rgb(85,66,95)
-
#563b66
#563b66
rgb(86,59,102)
-
#58356c
#58356c
rgb(88,53,108)
-
#5a2f72
#5a2f72
rgb(90,47,114)
-
#5c2978
#5c2978
rgb(92,41,120)
-
#5e237e
#5e237e
rgb(94,35,126)
-
#5f1c85
#5f1c85
rgb(95,28,133)
-
#61168b
#61168b
rgb(97,22,139)
-
#631091
#631091
rgb(99,16,145)
-
#650a97
#650a97
rgb(101,10,151)
-
#66049d
#66049d
rgb(102,4,157)
Tone Color Variation
Below, you can see how #5a2f72 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