#5a1272 hex color
In a RGB color space, hex #5a1272 is composed of 35.3% red, 7.1% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 21.1% cyan, 84.2% magenta, 0% yellow and 55.3% black. It has a hue angle of 285 degrees, a saturation of 72.7% and a lightness of 25.9%. #5a1272 color hex could be obtained by blending #b424e4 with #000000. Closest websafe color is: #660066.
-
- R 35
- G 7
- B 45
RGB color chart
-
- C 21
- M 84
- Y 0
- K 55
CMYK color chart
● #5a1272 color description : Very dark magenta.
The hexadecimal color #5a1272 has RGB values of R:90, G:18, B:114 and CMYK values of C:0.21, M:0.84, Y:0, K:0.55. Its decimal value is 5902962.
Hex triplet | 5a1272 | #5a1272 |
---|---|---|
RGB Decimal | 90, 18, 114 | rgb(90,18,114) |
RGB Percent | 35.3, 7.1, 44.7 | rgb(35.3%,7.1%,44.7%) |
CMYK | 21, 84, 0, 55 | |
HSL | 285°, 72.7, 25.9 | hsl(285,72.7%,25.9%) |
HSV (or HSB) | 285°, 84.2, 44.7 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 23.072, 45.754, -38.749 |
---|---|
XYZ | 7.47, 3.821, 16.263 |
xyY | 0.271, 0.139, 3.821 |
CIE-LCH | 23.072, 59.958, 319.739 |
CIE-LUV | 23.072, 19.562, -49.648 |
Hunter-Lab | 19.549, 33.996, -35.64 |
Binary | 01011010, 00010010, 01110010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1272. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1272
This text has a font color of #5a1272.
<span style="color:#5a1272;">Text here</span>
#5a1272 background color
This paragraph has a background color of #5a1272.
<p style="background-color:#5a1272;">Content here</p>
#5a1272 border color
This element has a border color of #5a1272.
<div style="border:1px solid #5a1272;">Content here</div>
CSS codes
.text {color:#5a1272;}
.background {background-color:#5a1272;}
.border {border:1px solid #5a1272;}
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, #0a020c is the darkest color, while #fdfafe is the lightest one.
-
#0a020c
#0a020c
rgb(10,2,12)
-
#17051d
#17051d
rgb(23,5,29)
-
#25072e
#25072e
rgb(37,7,46)
-
#320a3f
#320a3f
rgb(50,10,63)
-
#3f0d50
#3f0d50
rgb(63,13,80)
-
#4d0f61
#4d0f61
rgb(77,15,97)
-
#5a1272
#5a1272
rgb(90,18,114)
-
#671583
#671583
rgb(103,21,131)
-
#751794
#751794
rgb(117,23,148)
-
#821aa5
#821aa5
rgb(130,26,165)
-
#8f1db6
#8f1db6
rgb(143,29,182)
-
#9d1fc7
#9d1fc7
rgb(157,31,199)
-
#aa22d8
#aa22d8
rgb(170,34,216)
Shade Color Variation
-
#b22fde
#b22fde
rgb(178,47,222)
-
#b940e1
#b940e1
rgb(185,64,225)
-
#bf51e4
#bf51e4
rgb(191,81,228)
-
#c562e6
#c562e6
rgb(197,98,230)
-
#cb73e9
#cb73e9
rgb(203,115,233)
-
#d284ec
#d284ec
rgb(210,132,236)
-
#d895ee
#d895ee
rgb(216,149,238)
-
#dea6f1
#dea6f1
rgb(222,166,241)
-
#e4b7f4
#e4b7f4
rgb(228,183,244)
-
#ebc8f6
#ebc8f6
rgb(235,200,246)
-
#f1d9f9
#f1d9f9
rgb(241,217,249)
-
#f7e9fc
#f7e9fc
rgb(247,233,252)
-
#fdfafe
#fdfafe
rgb(253,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #434044 is the less saturated color, while #620381 is the most saturated one.
-
#434044
#434044
rgb(67,64,68)
-
#463b49
#463b49
rgb(70,59,73)
-
#48364e
#48364e
rgb(72,54,78)
-
#4b3054
#4b3054
rgb(75,48,84)
-
#4d2b59
#4d2b59
rgb(77,43,89)
-
#50265e
#50265e
rgb(80,38,94)
-
#522163
#522163
rgb(82,33,99)
-
#551c68
#551c68
rgb(85,28,104)
-
#57176d
#57176d
rgb(87,23,109)
-
#5a1272
#5a1272
rgb(90,18,114)
-
#5d0d77
#5d0d77
rgb(93,13,119)
-
#5f087c
#5f087c
rgb(95,8,124)
-
#620381
#620381
rgb(98,3,129)
Tone Color Variation
Below, you can see how #5a1272 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