#5a2f97 hex color
In a RGB color space, hex #5a2f97 is composed of 35.3% red, 18.4% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 40.4% cyan, 68.9% magenta, 0% yellow and 40.8% black. It has a hue angle of 264.8 degrees, a saturation of 52.5% and a lightness of 38.8%. #5a2f97 color hex could be obtained by blending #b45eff with #00002f. Closest websafe color is: #663399.
-
- R 35
- G 18
- B 59
RGB color chart
-
- C 40
- M 69
- Y 0
- K 41
CMYK color chart
● #5a2f97 color description : Dark moderate violet.
The hexadecimal color #5a2f97 has RGB values of R:90, G:47, B:151 and CMYK values of C:0.4, M:0.69, Y:0, K:0.41. Its decimal value is 5910423.
Hex triplet | 5a2f97 | #5a2f97 |
---|---|---|
RGB Decimal | 90, 47, 151 | rgb(90,47,151) |
RGB Percent | 35.3, 18.4, 59.2 | rgb(35.3%,18.4%,59.2%) |
CMYK | 40, 69, 0, 41 | |
HSL | 264.8°, 52.5, 38.8 | hsl(264.8,52.5%,38.8%) |
HSV (or HSB) | 264.8°, 68.9, 59.2 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 30.499, 41.884, -49.898 |
---|---|
XYZ | 10.818, 6.441, 29.95 |
xyY | 0.229, 0.136, 6.441 |
CIE-LCH | 30.499, 65.147, 310.009 |
CIE-LUV | 30.499, 8.524, -69.186 |
Hunter-Lab | 25.379, 31.672, -52.202 |
Binary | 01011010, 00101111, 10010111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a2f97. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a2f97
This text has a font color of #5a2f97.
<span style="color:#5a2f97;">Text here</span>
#5a2f97 background color
This paragraph has a background color of #5a2f97.
<p style="background-color:#5a2f97;">Content here</p>
#5a2f97 border color
This element has a border color of #5a2f97.
<div style="border:1px solid #5a2f97;">Content here</div>
CSS codes
.text {color:#5a2f97;}
.background {background-color:#5a2f97;}
.border {border:1px solid #5a2f97;}
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, #010001 is the darkest color, while #f5f1fb is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0a0510
#0a0510
rgb(10,5,16)
-
#130a1f
#130a1f
rgb(19,10,31)
-
#1c0e2e
#1c0e2e
rgb(28,14,46)
-
#25133d
#25133d
rgb(37,19,61)
-
#2d184c
#2d184c
rgb(45,24,76)
-
#361c5b
#361c5b
rgb(54,28,91)
-
#3f216a
#3f216a
rgb(63,33,106)
-
#482679
#482679
rgb(72,38,121)
-
#512a88
#512a88
rgb(81,42,136)
-
#5a2f97
#5a2f97
rgb(90,47,151)
-
#6334a6
#6334a6
rgb(99,52,166)
-
#6c38b5
#6c38b5
rgb(108,56,181)
Shade Color Variation
-
#753ec3
#753ec3
rgb(117,62,195)
-
#804dc8
#804dc8
rgb(128,77,200)
-
#8a5ccc
#8a5ccc
rgb(138,92,204)
-
#956bd1
#956bd1
rgb(149,107,209)
-
#a07ad6
#a07ad6
rgb(160,122,214)
-
#aa89da
#aa89da
rgb(170,137,218)
-
#b598df
#b598df
rgb(181,152,223)
-
#c0a7e4
#c0a7e4
rgb(192,167,228)
-
#cbb6e8
#cbb6e8
rgb(203,182,232)
-
#d5c5ed
#d5c5ed
rgb(213,197,237)
-
#e0d4f1
#e0d4f1
rgb(224,212,241)
-
#ebe2f6
#ebe2f6
rgb(235,226,246)
-
#f5f1fb
#f5f1fb
rgb(245,241,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #625d69 is the less saturated color, while #5201c5 is the most saturated one.
-
#625d69
#625d69
rgb(98,93,105)
-
#615571
#615571
rgb(97,85,113)
-
#5f4d79
#5f4d79
rgb(95,77,121)
-
#5e4680
#5e4680
rgb(94,70,128)
-
#5d3e88
#5d3e88
rgb(93,62,136)
-
#5b378f
#5b378f
rgb(91,55,143)
-
#5a2f97
#5a2f97
rgb(90,47,151)
-
#59279f
#59279f
rgb(89,39,159)
-
#5720a6
#5720a6
rgb(87,32,166)
-
#5618ae
#5618ae
rgb(86,24,174)
-
#5511b5
#5511b5
rgb(85,17,181)
-
#5309bd
#5309bd
rgb(83,9,189)
-
#5201c5
#5201c5
rgb(82,1,197)
Tone Color Variation
Below, you can see how #5a2f97 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