#5f40b6 hex color
In a RGB color space, hex #5f40b6 is composed of 37.3% red, 25.1% green and 71.4% blue. Whereas in a CMYK color space, it is composed of 47.8% cyan, 64.8% magenta, 0% yellow and 28.6% black. It has a hue angle of 255.8 degrees, a saturation of 48% and a lightness of 48.2%. #5f40b6 color hex could be obtained by blending #be80ff with #00006d. Closest websafe color is: #6633cc.
-
- R 37
- G 25
- B 71
RGB color chart
-
- C 48
- M 65
- Y 0
- K 29
CMYK color chart
● #5f40b6 color description : Moderate violet.
The hexadecimal color #5f40b6 has RGB values of R:95, G:64, B:182 and CMYK values of C:0.48, M:0.65, Y:0, K:0.29. Its decimal value is 6242486.
Hex triplet | 5f40b6 | #5f40b6 |
---|---|---|
RGB Decimal | 95, 64, 182 | rgb(95,64,182) |
RGB Percent | 37.3, 25.1, 71.4 | rgb(37.3%,25.1%,71.4%) |
CMYK | 48, 65, 0, 29 | |
HSL | 255.8°, 48, 48.2 | hsl(255.8,48%,48.2%) |
HSV (or HSB) | 255.8°, 64.8, 71.4 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 36.887, 42.21, -58.114 |
---|---|
XYZ | 14.995, 9.477, 45.293 |
xyY | 0.215, 0.136, 9.477 |
CIE-LCH | 36.887, 71.825, 305.992 |
CIE-LUV | 36.887, 3.284, -85.003 |
Hunter-Lab | 30.784, 33.072, -65.683 |
Binary | 01011111, 01000000, 10110110 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f40b6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f40b6
This text has a font color of #5f40b6.
<span style="color:#5f40b6;">Text here</span>
#5f40b6 background color
This paragraph has a background color of #5f40b6.
<p style="background-color:#5f40b6;">Content here</p>
#5f40b6 border color
This element has a border color of #5f40b6.
<div style="border:1px solid #5f40b6;">Content here</div>
CSS codes
.text {color:#5f40b6;}
.background {background-color:#5f40b6;}
.border {border:1px solid #5f40b6;}
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, #040308 is the darkest color, while #f9f8fd is the lightest one.
-
#040308
#040308
rgb(4,3,8)
-
#0c0816
#0c0816
rgb(12,8,22)
-
#130d25
#130d25
rgb(19,13,37)
-
#1b1233
#1b1233
rgb(27,18,51)
-
#221742
#221742
rgb(34,23,66)
-
#2a1c50
#2a1c50
rgb(42,28,80)
-
#32215f
#32215f
rgb(50,33,95)
-
#39266d
#39266d
rgb(57,38,109)
-
#412c7c
#412c7c
rgb(65,44,124)
-
#48318a
#48318a
rgb(72,49,138)
-
#503699
#503699
rgb(80,54,153)
-
#573ba7
#573ba7
rgb(87,59,167)
-
#5f40b6
#5f40b6
rgb(95,64,182)
Shade Color Variation
-
#694abf
#694abf
rgb(105,74,191)
-
#7559c5
#7559c5
rgb(117,89,197)
-
#8167ca
#8167ca
rgb(129,103,202)
-
#8d76cf
#8d76cf
rgb(141,118,207)
-
#9984d4
#9984d4
rgb(153,132,212)
-
#a593d9
#a593d9
rgb(165,147,217)
-
#b1a1de
#b1a1de
rgb(177,161,222)
-
#bdb0e3
#bdb0e3
rgb(189,176,227)
-
#c9bee8
#c9bee8
rgb(201,190,232)
-
#d5cded
#d5cded
rgb(213,205,237)
-
#e1dbf2
#e1dbf2
rgb(225,219,242)
-
#edeaf8
#edeaf8
rgb(237,234,248)
-
#f9f8fd
#f9f8fd
rgb(249,248,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7a797d is the less saturated color, while #4407ef is the most saturated one.
-
#7a797d
#7a797d
rgb(122,121,125)
-
#756f87
#756f87
rgb(117,111,135)
-
#716690
#716690
rgb(113,102,144)
-
#6c5c9a
#6c5c9a
rgb(108,92,154)
-
#6853a3
#6853a3
rgb(104,83,163)
-
#6349ad
#6349ad
rgb(99,73,173)
-
#5f40b6
#5f40b6
rgb(95,64,182)
-
#5b37bf
#5b37bf
rgb(91,55,191)
-
#562dc9
#562dc9
rgb(86,45,201)
-
#5224d2
#5224d2
rgb(82,36,210)
-
#4d1adc
#4d1adc
rgb(77,26,220)
-
#4911e5
#4911e5
rgb(73,17,229)
-
#4407ef
#4407ef
rgb(68,7,239)
Tone Color Variation
Below, you can see how #5f40b6 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