#40255b hex color
In a RGB color space, hex #40255b is composed of 25.1% red, 14.5% green and 35.7% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 59.3% magenta, 0% yellow and 64.3% black. It has a hue angle of 270 degrees, a saturation of 42.2% and a lightness of 25.1%. #40255b color hex could be obtained by blending #804ab6 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 15
- B 36
RGB color chart
-
- C 30
- M 59
- Y 0
- K 64
CMYK color chart
● #40255b color description : Very dark desaturated violet.
The hexadecimal color #40255b has RGB values of R:64, G:37, B:91 and CMYK values of C:0.3, M:0.59, Y:0, K:0.64. Its decimal value is 4203867.
Hex triplet | 40255b | #40255b |
---|---|---|
RGB Decimal | 64, 37, 91 | rgb(64,37,91) |
RGB Percent | 25.1, 14.5, 35.7 | rgb(25.1%,14.5%,35.7%) |
CMYK | 30, 59, 0, 64 | |
HSL | 270°, 42.2, 25.1 | hsl(270,42.2%,25.1%) |
HSV (or HSB) | 270°, 59.3, 35.7 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 20.707, 24.835, -27.732 |
---|---|
XYZ | 4.664, 3.169, 10.263 |
xyY | 0.258, 0.175, 3.169 |
CIE-LCH | 20.707, 37.227, 311.845 |
CIE-LUV | 20.707, 7.263, -33.562 |
Hunter-Lab | 17.8, 15.619, -21.724 |
Binary | 01000000, 00100101, 01011011 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #40255b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #40255b
This text has a font color of #40255b.
<span style="color:#40255b;">Text here</span>
#40255b background color
This paragraph has a background color of #40255b.
<p style="background-color:#40255b;">Content here</p>
#40255b border color
This element has a border color of #40255b.
<div style="border:1px solid #40255b;">Content here</div>
CSS codes
.text {color:#40255b;}
.background {background-color:#40255b;}
.border {border:1px solid #40255b;}
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, #050307 is the darkest color, while #faf8fc is the lightest one.
-
#050307
#050307
rgb(5,3,7)
-
#0f0915
#0f0915
rgb(15,9,21)
-
#190e23
#190e23
rgb(25,14,35)
-
#231431
#231431
rgb(35,20,49)
-
#2c1a3f
#2c1a3f
rgb(44,26,63)
-
#361f4d
#361f4d
rgb(54,31,77)
-
#40255b
#40255b
rgb(64,37,91)
-
#4a2b69
#4a2b69
rgb(74,43,105)
-
#543077
#543077
rgb(84,48,119)
-
#5d3685
#5d3685
rgb(93,54,133)
-
#673c93
#673c93
rgb(103,60,147)
-
#7141a1
#7141a1
rgb(113,65,161)
-
#7b47af
#7b47af
rgb(123,71,175)
Shade Color Variation
-
#8551b8
#8551b8
rgb(133,81,184)
-
#8e5fbe
#8e5fbe
rgb(142,95,190)
-
#986dc4
#986dc4
rgb(152,109,196)
-
#a27bc9
#a27bc9
rgb(162,123,201)
-
#ac89cf
#ac89cf
rgb(172,137,207)
-
#b697d5
#b697d5
rgb(182,151,213)
-
#c0a5da
#c0a5da
rgb(192,165,218)
-
#c9b3e0
#c9b3e0
rgb(201,179,224)
-
#d3c1e6
#d3c1e6
rgb(211,193,230)
-
#ddcfeb
#ddcfeb
rgb(221,207,235)
-
#e7dcf1
#e7dcf1
rgb(231,220,241)
-
#f1eaf7
#f1eaf7
rgb(241,234,247)
-
#faf8fc
#faf8fc
rgb(250,248,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #403e42 is the less saturated color, while #40037d is the most saturated one.
-
#403e42
#403e42
rgb(64,62,66)
-
#403947
#403947
rgb(64,57,71)
-
#40344c
#40344c
rgb(64,52,76)
-
#402f51
#402f51
rgb(64,47,81)
-
#402a56
#402a56
rgb(64,42,86)
-
#40255b
#40255b
rgb(64,37,91)
-
#402060
#402060
rgb(64,32,96)
-
#401b65
#401b65
rgb(64,27,101)
-
#40166a
#40166a
rgb(64,22,106)
-
#40116f
#40116f
rgb(64,17,111)
-
#400c74
#400c74
rgb(64,12,116)
-
#400779
#400779
rgb(64,7,121)
-
#40037d
#40037d
rgb(64,3,125)
Tone Color Variation
Below, you can see how #40255b 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