#5a1fa2 hex color
In a RGB color space, hex #5a1fa2 is composed of 35.3% red, 12.2% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 44.4% cyan, 80.9% magenta, 0% yellow and 36.5% black. It has a hue angle of 267 degrees, a saturation of 67.9% and a lightness of 37.8%. #5a1fa2 color hex could be obtained by blending #b43eff with #000045. Closest websafe color is: #663399.
-
- R 35
- G 12
- B 64
RGB color chart
-
- C 44
- M 81
- Y 0
- K 36
CMYK color chart
● #5a1fa2 color description : Dark violet.
The hexadecimal color #5a1fa2 has RGB values of R:90, G:31, B:162 and CMYK values of C:0.44, M:0.81, Y:0, K:0.36. Its decimal value is 5906338.
Hex triplet | 5a1fa2 | #5a1fa2 |
---|---|---|
RGB Decimal | 90, 31, 162 | rgb(90,31,162) |
RGB Percent | 35.3, 12.2, 63.5 | rgb(35.3%,12.2%,63.5%) |
CMYK | 44, 81, 0, 36 | |
HSL | 267°, 67.9, 37.8 | hsl(267,67.9%,37.8%) |
HSV (or HSB) | 267°, 80.9, 63.5 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 28.805, 52.203, -59.364 |
---|---|
XYZ | 11.227, 5.762, 34.701 |
xyY | 0.217, 0.111, 5.762 |
CIE-LCH | 28.805, 79.052, 311.328 |
CIE-LUV | 28.805, 9.262, -79.124 |
Hunter-Lab | 24.005, 41.476, -68.906 |
Binary | 01011010, 00011111, 10100010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1fa2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1fa2
This text has a font color of #5a1fa2.
<span style="color:#5a1fa2;">Text here</span>
#5a1fa2 background color
This paragraph has a background color of #5a1fa2.
<p style="background-color:#5a1fa2;">Content here</p>
#5a1fa2 border color
This element has a border color of #5a1fa2.
<div style="border:1px solid #5a1fa2;">Content here</div>
CSS codes
.text {color:#5a1fa2;}
.background {background-color:#5a1fa2;}
.border {border:1px solid #5a1fa2;}
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, #08030e is the darkest color, while #fdfcfe is the lightest one.
-
#08030e
#08030e
rgb(8,3,14)
-
#11061e
#11061e
rgb(17,6,30)
-
#1a092f
#1a092f
rgb(26,9,47)
-
#230c3f
#230c3f
rgb(35,12,63)
-
#2c0f50
#2c0f50
rgb(44,15,80)
-
#351260
#351260
rgb(53,18,96)
-
#3f1671
#3f1671
rgb(63,22,113)
-
#481981
#481981
rgb(72,25,129)
-
#511c92
#511c92
rgb(81,28,146)
-
#5a1fa2
#5a1fa2
rgb(90,31,162)
-
#6322b2
#6322b2
rgb(99,34,178)
-
#6c25c3
#6c25c3
rgb(108,37,195)
-
#7528d3
#7528d3
rgb(117,40,211)
Shade Color Variation
-
#8037d9
#8037d9
rgb(128,55,217)
-
#8a47dc
#8a47dc
rgb(138,71,220)
-
#9558df
#9558df
rgb(149,88,223)
-
#9f68e2
#9f68e2
rgb(159,104,226)
-
#aa79e5
#aa79e5
rgb(170,121,229)
-
#b489e8
#b489e8
rgb(180,137,232)
-
#bf9aec
#bf9aec
rgb(191,154,236)
-
#c9aaef
#c9aaef
rgb(201,170,239)
-
#d3baf2
#d3baf2
rgb(211,186,242)
-
#decbf5
#decbf5
rgb(222,203,245)
-
#e8dbf8
#e8dbf8
rgb(232,219,248)
-
#f3ecfb
#f3ecfb
rgb(243,236,251)
-
#fdfcfe
#fdfcfe
rgb(253,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #605a67 is the less saturated color, while #5701c0 is the most saturated one.
-
#605a67
#605a67
rgb(96,90,103)
-
#5f536e
#5f536e
rgb(95,83,110)
-
#5e4c75
#5e4c75
rgb(94,76,117)
-
#5e447d
#5e447d
rgb(94,68,125)
-
#5d3d84
#5d3d84
rgb(93,61,132)
-
#5c358c
#5c358c
rgb(92,53,140)
-
#5b2e93
#5b2e93
rgb(91,46,147)
-
#5b269b
#5b269b
rgb(91,38,155)
-
#5a1fa2
#5a1fa2
rgb(90,31,162)
-
#5918a9
#5918a9
rgb(89,24,169)
-
#5910b1
#5910b1
rgb(89,16,177)
-
#5809b8
#5809b8
rgb(88,9,184)
-
#5701c0
#5701c0
rgb(87,1,192)
Tone Color Variation
Below, you can see how #5a1fa2 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