#5b40a5 hex color
In a RGB color space, hex #5b40a5 is composed of 35.7% red, 25.1% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 61.2% magenta, 0% yellow and 35.3% black. It has a hue angle of 256 degrees, a saturation of 44.1% and a lightness of 44.9%. #5b40a5 color hex could be obtained by blending #b680ff with #00004b. Closest websafe color is: #663399.
-
- R 36
- G 25
- B 65
RGB color chart
-
- C 45
- M 61
- Y 0
- K 35
CMYK color chart
● #5b40a5 color description : Dark moderate violet.
The hexadecimal color #5b40a5 has RGB values of R:91, G:64, B:165 and CMYK values of C:0.45, M:0.61, Y:0, K:0.35. Its decimal value is 5980325.
Hex triplet | 5b40a5 | #5b40a5 |
---|---|---|
RGB Decimal | 91, 64, 165 | rgb(91,64,165) |
RGB Percent | 35.7, 25.1, 64.7 | rgb(35.7%,25.1%,64.7%) |
CMYK | 45, 61, 0, 35 | |
HSL | 256°, 44.1, 44.9 | hsl(256,44.1%,44.9%) |
HSV (or HSB) | 256°, 61.2, 64.7 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 35.217, 36.442, -50.723 |
---|---|
XYZ | 12.938, 8.607, 36.575 |
xyY | 0.223, 0.148, 8.607 |
CIE-LCH | 35.217, 62.457, 305.695 |
CIE-LUV | 35.217, 3.53, -73.551 |
Hunter-Lab | 29.338, 27.376, -53.378 |
Binary | 01011011, 01000000, 10100101 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5b40a5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5b40a5
This text has a font color of #5b40a5.
<span style="color:#5b40a5;">Text here</span>
#5b40a5 background color
This paragraph has a background color of #5b40a5.
<p style="background-color:#5b40a5;">Content here</p>
#5b40a5 border color
This element has a border color of #5b40a5.
<div style="border:1px solid #5b40a5;">Content here</div>
CSS codes
.text {color:#5b40a5;}
.background {background-color:#5b40a5;}
.border {border:1px solid #5b40a5;}
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, #05040a is the darkest color, while #fbfafd is the lightest one.
-
#05040a
#05040a
rgb(5,4,10)
-
#0d0918
#0d0918
rgb(13,9,24)
-
#150f26
#150f26
rgb(21,15,38)
-
#1d1434
#1d1434
rgb(29,20,52)
-
#241a42
#241a42
rgb(36,26,66)
-
#2c1f50
#2c1f50
rgb(44,31,80)
-
#34255e
#34255e
rgb(52,37,94)
-
#3c2a6c
#3c2a6c
rgb(60,42,108)
-
#44307b
#44307b
rgb(68,48,123)
-
#4b3589
#4b3589
rgb(75,53,137)
-
#533b97
#533b97
rgb(83,59,151)
-
#5b40a5
#5b40a5
rgb(91,64,165)
-
#6345b3
#6345b3
rgb(99,69,179)
Shade Color Variation
-
#6d51bb
#6d51bb
rgb(109,81,187)
-
#795fc1
#795fc1
rgb(121,95,193)
-
#856dc6
#856dc6
rgb(133,109,198)
-
#917bcc
#917bcc
rgb(145,123,204)
-
#9d89d1
#9d89d1
rgb(157,137,209)
-
#a897d7
#a897d7
rgb(168,151,215)
-
#b4a6dc
#b4a6dc
rgb(180,166,220)
-
#c0b4e2
#c0b4e2
rgb(192,180,226)
-
#ccc2e7
#ccc2e7
rgb(204,194,231)
-
#d8d0ed
#d8d0ed
rgb(216,208,237)
-
#e4def2
#e4def2
rgb(228,222,242)
-
#efecf8
#efecf8
rgb(239,236,248)
-
#fbfafd
#fbfafd
rgb(251,250,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6f6c79 is the less saturated color, while #3e02e3 is the most saturated one.
-
#6f6c79
#6f6c79
rgb(111,108,121)
-
#6b6382
#6b6382
rgb(107,99,130)
-
#675a8b
#675a8b
rgb(103,90,139)
-
#635293
#635293
rgb(99,82,147)
-
#5f499c
#5f499c
rgb(95,73,156)
-
#5b40a5
#5b40a5
rgb(91,64,165)
-
#5737ae
#5737ae
rgb(87,55,174)
-
#532eb7
#532eb7
rgb(83,46,183)
-
#4f26bf
#4f26bf
rgb(79,38,191)
-
#4b1dc8
#4b1dc8
rgb(75,29,200)
-
#4714d1
#4714d1
rgb(71,20,209)
-
#420bda
#420bda
rgb(66,11,218)
-
#3e02e3
#3e02e3
rgb(62,2,227)
Tone Color Variation
Below, you can see how #5b40a5 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