#40157c hex color
In a RGB color space, hex #40157c is composed of 25.1% red, 8.2% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 48.4% cyan, 83.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 265 degrees, a saturation of 71% and a lightness of 28.4%. #40157c color hex could be obtained by blending #802af8 with #000000. Closest websafe color is: #330066.
-
- R 25
- G 8
- B 49
RGB color chart
-
- C 48
- M 83
- Y 0
- K 51
CMYK color chart
● #40157c color description : Dark violet.
The hexadecimal color #40157c has RGB values of R:64, G:21, B:124 and CMYK values of C:0.48, M:0.83, Y:0, K:0.51. Its decimal value is 4199804.
Hex triplet | 40157c | #40157c |
---|---|---|
RGB Decimal | 64, 21, 124 | rgb(64,21,124) |
RGB Percent | 25.1, 8.2, 48.6 | rgb(25.1%,8.2%,48.6%) |
CMYK | 48, 83, 0, 51 | |
HSL | 265°, 71, 28.4 | hsl(265,71%,28.4%) |
HSV (or HSB) | 265°, 83.1, 48.6 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 20.367, 42.551, -49.733 |
---|---|
XYZ | 6.02, 3.082, 19.345 |
xyY | 0.212, 0.108, 3.082 |
CIE-LCH | 20.367, 65.451, 310.55 |
CIE-LUV | 20.367, 5.432, -57.417 |
Hunter-Lab | 17.554, 30.494, -53.051 |
Binary | 01000000, 00010101, 01111100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #40157c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #40157c
This text has a font color of #40157c.
<span style="color:#40157c;">Text here</span>
#40157c background color
This paragraph has a background color of #40157c.
<p style="background-color:#40157c;">Content here</p>
#40157c border color
This element has a border color of #40157c.
<div style="border:1px solid #40157c;">Content here</div>
CSS codes
.text {color:#40157c;}
.background {background-color:#40157c;}
.border {border:1px solid #40157c;}
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, #030107 is the darkest color, while #f8f5fd is the lightest one.
-
#030107
#030107
rgb(3,1,7)
-
#0c0417
#0c0417
rgb(12,4,23)
-
#150728
#150728
rgb(21,7,40)
-
#1d0a39
#1d0a39
rgb(29,10,57)
-
#260c4a
#260c4a
rgb(38,12,74)
-
#2f0f5a
#2f0f5a
rgb(47,15,90)
-
#37126b
#37126b
rgb(55,18,107)
-
#40157c
#40157c
rgb(64,21,124)
-
#49188d
#49188d
rgb(73,24,141)
-
#511b9e
#511b9e
rgb(81,27,158)
-
#5a1eae
#5a1eae
rgb(90,30,174)
-
#6320bf
#6320bf
rgb(99,32,191)
-
#6b23d0
#6b23d0
rgb(107,35,208)
Shade Color Variation
-
#752cdb
#752cdb
rgb(117,44,219)
-
#803cde
#803cde
rgb(128,60,222)
-
#8b4de1
#8b4de1
rgb(139,77,225)
-
#965ee4
#965ee4
rgb(150,94,228)
-
#a16fe7
#a16fe7
rgb(161,111,231)
-
#ac7fe9
#ac7fe9
rgb(172,127,233)
-
#b790ec
#b790ec
rgb(183,144,236)
-
#c2a1ef
#c2a1ef
rgb(194,161,239)
-
#cdb2f2
#cdb2f2
rgb(205,178,242)
-
#d7c2f5
#d7c2f5
rgb(215,194,245)
-
#e2d3f8
#e2d3f8
rgb(226,211,248)
-
#ede4fa
#ede4fa
rgb(237,228,250)
-
#f8f5fd
#f8f5fd
rgb(248,245,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #48474a is the less saturated color, while #3d048d is the most saturated one.
-
#48474a
#48474a
rgb(72,71,74)
-
#47424f
#47424f
rgb(71,66,79)
-
#463c55
#463c55
rgb(70,60,85)
-
#46365b
#46365b
rgb(70,54,91)
-
#453160
#453160
rgb(69,49,96)
-
#442b66
#442b66
rgb(68,43,102)
-
#43266b
#43266b
rgb(67,38,107)
-
#422071
#422071
rgb(66,32,113)
-
#411b76
#411b76
rgb(65,27,118)
-
#40157c
#40157c
rgb(64,21,124)
-
#3f0f82
#3f0f82
rgb(63,15,130)
-
#3e0a87
#3e0a87
rgb(62,10,135)
-
#3d048d
#3d048d
rgb(61,4,141)
Tone Color Variation
Below, you can see how #40157c 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