#5a1f75 hex color
In a RGB color space, hex #5a1f75 is composed of 35.3% red, 12.2% green and 45.9% blue. Whereas in a CMYK color space, it is composed of 23.1% cyan, 73.5% magenta, 0% yellow and 54.1% black. It has a hue angle of 281.2 degrees, a saturation of 58.1% and a lightness of 29%. #5a1f75 color hex could be obtained by blending #b43eea with #000000. Closest websafe color is: #663366.
-
- R 35
- G 12
- B 46
RGB color chart
-
- C 23
- M 74
- Y 0
- K 54
CMYK color chart
● #5a1f75 color description : Dark violet.
The hexadecimal color #5a1f75 has RGB values of R:90, G:31, B:117 and CMYK values of C:0.23, M:0.74, Y:0, K:0.54. Its decimal value is 5906293.
Hex triplet | 5a1f75 | #5a1f75 |
---|---|---|
RGB Decimal | 90, 31, 117 | rgb(90,31,117) |
RGB Percent | 35.3, 12.2, 45.9 | rgb(35.3%,12.2%,45.9%) |
CMYK | 23, 74, 0, 54 | |
HSL | 281.2°, 58.1, 29 | hsl(281.2,58.1%,29%) |
HSV (or HSB) | 281.2°, 73.5, 45.9 | |
Web Safe | 663366 | #663366 |
CIE-LAB | 25.07, 41.334, -37.447 |
---|---|
XYZ | 7.917, 4.438, 17.268 |
xyY | 0.267, 0.15, 4.438 |
CIE-LCH | 25.07, 55.774, 317.825 |
CIE-LUV | 25.07, 17.242, -49.559 |
Hunter-Lab | 21.067, 30.212, -33.852 |
Binary | 01011010, 00011111, 01110101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1f75. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1f75
This text has a font color of #5a1f75.
<span style="color:#5a1f75;">Text here</span>
#5a1f75 background color
This paragraph has a background color of #5a1f75.
<p style="background-color:#5a1f75;">Content here</p>
#5a1f75 border color
This element has a border color of #5a1f75.
<div style="border:1px solid #5a1f75;">Content here</div>
CSS codes
.text {color:#5a1f75;}
.background {background-color:#5a1f75;}
.border {border:1px solid #5a1f75;}
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, #070208 is the darkest color, while #fcf8fd is the lightest one.
-
#070208
#070208
rgb(7,2,8)
-
#120618
#120618
rgb(18,6,24)
-
#1e0a27
#1e0a27
rgb(30,10,39)
-
#2a0f37
#2a0f37
rgb(42,15,55)
-
#361346
#361346
rgb(54,19,70)
-
#421756
#421756
rgb(66,23,86)
-
#4e1b65
#4e1b65
rgb(78,27,101)
-
#5a1f75
#5a1f75
rgb(90,31,117)
-
#662385
#662385
rgb(102,35,133)
-
#722794
#722794
rgb(114,39,148)
-
#7e2ba4
#7e2ba4
rgb(126,43,164)
-
#8a2fb3
#8a2fb3
rgb(138,47,179)
-
#9634c3
#9634c3
rgb(150,52,195)
Shade Color Variation
-
#9f3ecc
#9f3ecc
rgb(159,62,204)
-
#a74dd0
#a74dd0
rgb(167,77,208)
-
#af5dd4
#af5dd4
rgb(175,93,212)
-
#b66cd8
#b66cd8
rgb(182,108,216)
-
#be7cdc
#be7cdc
rgb(190,124,220)
-
#c68be0
#c68be0
rgb(198,139,224)
-
#cd9be4
#cd9be4
rgb(205,155,228)
-
#d5aae9
#d5aae9
rgb(213,170,233)
-
#ddbaed
#ddbaed
rgb(221,186,237)
-
#e4c9f1
#e4c9f1
rgb(228,201,241)
-
#ecd9f5
#ecd9f5
rgb(236,217,245)
-
#f4e8f9
#f4e8f9
rgb(244,232,249)
-
#fcf8fd
#fcf8fd
rgb(252,248,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4b474d is the less saturated color, while #650391 is the most saturated one.
-
#4b474d
#4b474d
rgb(75,71,77)
-
#4d4153
#4d4153
rgb(77,65,83)
-
#4f3b59
#4f3b59
rgb(79,59,89)
-
#52365e
#52365e
rgb(82,54,94)
-
#543064
#543064
rgb(84,48,100)
-
#562a6a
#562a6a
rgb(86,42,106)
-
#58256f
#58256f
rgb(88,37,111)
-
#5a1f75
#5a1f75
rgb(90,31,117)
-
#5c197b
#5c197b
rgb(92,25,123)
-
#5e1480
#5e1480
rgb(94,20,128)
-
#600e86
#600e86
rgb(96,14,134)
-
#62088c
#62088c
rgb(98,8,140)
-
#650391
#650391
rgb(101,3,145)
Tone Color Variation
Below, you can see how #5a1f75 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