#40158c Color Information
In a RGB color space, hex #40158c is composed of 25.1% red, 8.2% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 85% magenta, 0% yellow and 45.1% black. It has a hue angle of 261.7 degrees, a saturation of 73.9% and a lightness of 31.6%. #40158c color hex could be obtained by blending #802aff with #000019. Closest websafe color is: #330099.
-
- R 25
- G 8
- B 55
-
- C 54
- M 85
- Y 0
- K 45
● #40158c color description : Dark violet.
#40158c Color Conversion
The hexadecimal color #40158c has RGB values of R:64, G:21, B:140 and CMYK values of C:0.54, M:0.85, Y:0, K:0.45. Its decimal value is 4199820.
Hex triplet | 40158c | #40158c |
---|---|---|
RGB Decimal | 64, 21, 140 | rgb(64,21,140) |
RGB Percent | 25.1, 8.2, 54.9 | rgb(25.1%,8.2%,54.9%) |
CMYK | 54, 85, 0, 45 | |
HSL | 261.7°, 73.9, 31.6 | hsl(261.7,73.9%,31.6%) |
HSV (or HSB) | 261.7°, 85, 54.9 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 22.015, 46.869, -57.11 |
---|---|
XYZ | 7.115, 3.52, 25.114 |
xyY | 0.199, 0.098, 3.52 |
CIE-LCH | 22.015, 73.88, 309.375 |
CIE-LUV | 22.015, 3.604, -67.008 |
Hunter-Lab | 18.761, 34.868, -66.236 |
Binary | 01000000, 00010101, 10001100 |
Color Schemes with #40158c
Alternatives to #40158c
Below, you can see some colors close to #40158c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#40158c Preview
This text has a font color of #40158c.
<span style="color:#40158c;">Text here</span>
This paragraph has a background color of #40158c.
<p style="background-color:#40158c;">Content here</p>
This element has a border color of #40158c.
<div style="border:1px solid #40158c;">Content here</div>
.text {color:#40158c;}
.background {background-color:#40158c;}
.border {border:1px solid #40158c;}
Shades and Tints of #40158c
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, #020104 is the darkest color, while #f6f1fd is the lightest one.
-
#020104
#020104
rgb(2,1,4)
-
#090315
#090315
rgb(9,3,21)
-
#110626
#110626
rgb(17,6,38)
-
#190837
#190837
rgb(25,8,55)
-
#210b48
#210b48
rgb(33,11,72)
-
#290d59
#290d59
rgb(41,13,89)
-
#30106a
#30106a
rgb(48,16,106)
-
#38127b
#38127b
rgb(56,18,123)
-
#40158c
#40158c
rgb(64,21,140)
-
#48189d
#48189d
rgb(72,24,157)
-
#501aae
#501aae
rgb(80,26,174)
-
#571dbf
#571dbf
rgb(87,29,191)
-
#5f1fd0
#5f1fd0
rgb(95,31,208)
-
#6825de
#6825de
rgb(104,37,222)
-
#7436e1
#7436e1
rgb(116,54,225)
-
#7f47e3
#7f47e3
rgb(127,71,227)
-
#8b58e6
#8b58e6
rgb(139,88,230)
-
#9769e9
#9769e9
rgb(151,105,233)
-
#a37aeb
#a37aeb
rgb(163,122,235)
-
#af8bee
#af8bee
rgb(175,139,238)
-
#bb9cf0
#bb9cf0
rgb(187,156,240)
-
#c6adf3
#c6adf3
rgb(198,173,243)
-
#d2bef5
#d2bef5
rgb(210,190,245)
-
#decff8
#decff8
rgb(222,207,248)
-
#eae0fa
#eae0fa
rgb(234,224,250)
-
#f6f1fd
#f6f1fd
rgb(246,241,253)
Tones of #40158c
A tone is produced by adding gray to any pure hue. In this case, #4f4d54 is the less saturated color, while #3b029f is the most saturated one.
-
#4f4d54
#4f4d54
rgb(79,77,84)
-
#4e475a
#4e475a
rgb(78,71,90)
-
#4c4061
#4c4061
rgb(76,64,97)
-
#4a3a67
#4a3a67
rgb(74,58,103)
-
#49346d
#49346d
rgb(73,52,109)
-
#472e73
#472e73
rgb(71,46,115)
-
#452879
#452879
rgb(69,40,121)
-
#432180
#432180
rgb(67,33,128)
-
#421b86
#421b86
rgb(66,27,134)
-
#40158c
#40158c
rgb(64,21,140)
-
#3e0f92
#3e0f92
rgb(62,15,146)
-
#3d0998
#3d0998
rgb(61,9,152)
-
#3b029f
#3b029f
rgb(59,2,159)
Color Blindness Simulator
Below, you can see how #40158c 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.