#5a2791 hex color
In a RGB color space, hex #5a2791 is composed of 35.3% red, 15.3% green and 56.9% blue. Whereas in a CMYK color space, it is composed of 37.9% cyan, 73.1% magenta, 0% yellow and 43.1% black. It has a hue angle of 268.9 degrees, a saturation of 57.6% and a lightness of 36.1%. #5a2791 color hex could be obtained by blending #b44eff with #000023. Closest websafe color is: #663399.
-
- R 35
- G 15
- B 57
RGB color chart
-
- C 38
- M 73
- Y 0
- K 43
CMYK color chart
● #5a2791 color description : Dark violet.
The hexadecimal color #5a2791 has RGB values of R:90, G:39, B:145 and CMYK values of C:0.38, M:0.73, Y:0, K:0.43. Its decimal value is 5908369.
Hex triplet | 5a2791 | #5a2791 |
---|---|---|
RGB Decimal | 90, 39, 145 | rgb(90,39,145) |
RGB Percent | 35.3, 15.3, 56.9 | rgb(35.3%,15.3%,56.9%) |
CMYK | 38, 73, 0, 43 | |
HSL | 268.9°, 57.6, 36.1 | hsl(268.9,57.6%,36.1%) |
HSV (or HSB) | 268.9°, 73.1, 56.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.562, 44.374, -49.362 |
---|---|
XYZ | 10.052, 5.669, 27.351 |
xyY | 0.233, 0.132, 5.669 |
CIE-LCH | 28.562, 66.375, 311.954 |
CIE-LUV | 28.562, 10.82, -66.949 |
Hunter-Lab | 23.81, 33.691, -51.441 |
Binary | 01011010, 00100111, 10010001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a2791. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a2791
This text has a font color of #5a2791.
<span style="color:#5a2791;">Text here</span>
#5a2791 background color
This paragraph has a background color of #5a2791.
<p style="background-color:#5a2791;">Content here</p>
#5a2791 border color
This element has a border color of #5a2791.
<div style="border:1px solid #5a2791;">Content here</div>
CSS codes
.text {color:#5a2791;}
.background {background-color:#5a2791;}
.border {border:1px solid #5a2791;}
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, #040206 is the darkest color, while #f9f5fc is the lightest one.
-
#040206
#040206
rgb(4,2,6)
-
#0d0615
#0d0615
rgb(13,6,21)
-
#170a25
#170a25
rgb(23,10,37)
-
#200e34
#200e34
rgb(32,14,52)
-
#2a1244
#2a1244
rgb(42,18,68)
-
#341653
#341653
rgb(52,22,83)
-
#3d1b63
#3d1b63
rgb(61,27,99)
-
#471f72
#471f72
rgb(71,31,114)
-
#502382
#502382
rgb(80,35,130)
-
#5a2791
#5a2791
rgb(90,39,145)
-
#642ba0
#642ba0
rgb(100,43,160)
-
#6d2fb0
#6d2fb0
rgb(109,47,176)
-
#7733bf
#7733bf
rgb(119,51,191)
Shade Color Variation
-
#813ccb
#813ccb
rgb(129,60,203)
-
#8b4bcf
#8b4bcf
rgb(139,75,207)
-
#955bd3
#955bd3
rgb(149,91,211)
-
#9f6ad7
#9f6ad7
rgb(159,106,215)
-
#a97adb
#a97adb
rgb(169,122,219)
-
#b389df
#b389df
rgb(179,137,223)
-
#bd99e3
#bd99e3
rgb(189,153,227)
-
#c7a8e8
#c7a8e8
rgb(199,168,232)
-
#d1b8ec
#d1b8ec
rgb(209,184,236)
-
#dbc7f0
#dbc7f0
rgb(219,199,240)
-
#e5d7f4
#e5d7f4
rgb(229,215,244)
-
#efe6f8
#efe6f8
rgb(239,230,248)
-
#f9f5fc
#f9f5fc
rgb(249,245,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5c595f is the less saturated color, while #5904b4 is the most saturated one.
-
#5c595f
#5c595f
rgb(92,89,95)
-
#5c5167
#5c5167
rgb(92,81,103)
-
#5b4a6e
#5b4a6e
rgb(91,74,110)
-
#5b4375
#5b4375
rgb(91,67,117)
-
#5b3c7c
#5b3c7c
rgb(91,60,124)
-
#5b3583
#5b3583
rgb(91,53,131)
-
#5a2e8a
#5a2e8a
rgb(90,46,138)
-
#5a2791
#5a2791
rgb(90,39,145)
-
#5a2098
#5a2098
rgb(90,32,152)
-
#59199f
#59199f
rgb(89,25,159)
-
#5912a6
#5912a6
rgb(89,18,166)
-
#590bad
#590bad
rgb(89,11,173)
-
#5904b4
#5904b4
rgb(89,4,180)
Tone Color Variation
Below, you can see how #5a2791 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