#40287f hex color
In a RGB color space, hex #40287f is composed of 25.1% red, 15.7% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 49.6% cyan, 68.5% magenta, 0% yellow and 50.2% black. It has a hue angle of 256.6 degrees, a saturation of 52.1% and a lightness of 32.7%. #40287f color hex could be obtained by blending #8050fe with #000000. Closest websafe color is: #333366.
-
- R 25
- G 16
- B 50
RGB color chart
-
- C 50
- M 69
- Y 0
- K 50
CMYK color chart
● #40287f color description : Dark moderate violet.
The hexadecimal color #40287f has RGB values of R:64, G:40, B:127 and CMYK values of C:0.5, M:0.69, Y:0, K:0.5. Its decimal value is 4204671.
Hex triplet | 40287f | #40287f |
---|---|---|
RGB Decimal | 64, 40, 127 | rgb(64,40,127) |
RGB Percent | 25.1, 15.7, 49.8 | rgb(25.1%,15.7%,49.8%) |
CMYK | 50, 69, 0, 50 | |
HSL | 256.6°, 52.1, 32.7 | hsl(256.6,52.1%,32.7%) |
HSV (or HSB) | 256.6°, 68.5, 49.8 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 24.128, 33.612, -45.486 |
---|---|
XYZ | 6.703, 4.14, 20.523 |
xyY | 0.214, 0.132, 4.14 |
CIE-LCH | 24.128, 56.557, 306.463 |
CIE-LUV | 24.128, 2.455, -57.26 |
Hunter-Lab | 20.346, 23.201, -45.563 |
Binary | 01000000, 00101000, 01111111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #40287f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #40287f
This text has a font color of #40287f.
<span style="color:#40287f;">Text here</span>
#40287f background color
This paragraph has a background color of #40287f.
<p style="background-color:#40287f;">Content here</p>
#40287f border color
This element has a border color of #40287f.
<div style="border:1px solid #40287f;">Content here</div>
CSS codes
.text {color:#40287f;}
.background {background-color:#40287f;}
.border {border:1px solid #40287f;}
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, #040208 is the darkest color, while #f9f8fd is the lightest one.
-
#040208
#040208
rgb(4,2,8)
-
#0b0717
#0b0717
rgb(11,7,23)
-
#130c25
#130c25
rgb(19,12,37)
-
#1a1134
#1a1134
rgb(26,17,52)
-
#221543
#221543
rgb(34,21,67)
-
#291a52
#291a52
rgb(41,26,82)
-
#311f61
#311f61
rgb(49,31,97)
-
#382370
#382370
rgb(56,35,112)
-
#40287f
#40287f
rgb(64,40,127)
-
#482d8e
#482d8e
rgb(72,45,142)
-
#4f319d
#4f319d
rgb(79,49,157)
-
#5736ac
#5736ac
rgb(87,54,172)
-
#5e3bbb
#5e3bbb
rgb(94,59,187)
Shade Color Variation
-
#6845c4
#6845c4
rgb(104,69,196)
-
#7454c9
#7454c9
rgb(116,84,201)
-
#8063ce
#8063ce
rgb(128,99,206)
-
#8c71d2
#8c71d2
rgb(140,113,210)
-
#9880d7
#9880d7
rgb(152,128,215)
-
#a48fdc
#a48fdc
rgb(164,143,220)
-
#b19ee1
#b19ee1
rgb(177,158,225)
-
#bdade5
#bdade5
rgb(189,173,229)
-
#c9bcea
#c9bcea
rgb(201,188,234)
-
#d5cbef
#d5cbef
rgb(213,203,239)
-
#e1daf3
#e1daf3
rgb(225,218,243)
-
#ede9f8
#ede9f8
rgb(237,233,248)
-
#f9f8fd
#f9f8fd
rgb(249,248,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #514f58 is the less saturated color, while #2f01a6 is the most saturated one.
-
#514f58
#514f58
rgb(81,79,88)
-
#4e485f
#4e485f
rgb(78,72,95)
-
#4c4265
#4c4265
rgb(76,66,101)
-
#493b6c
#493b6c
rgb(73,59,108)
-
#463572
#463572
rgb(70,53,114)
-
#432e79
#432e79
rgb(67,46,121)
-
#40287f
#40287f
rgb(64,40,127)
-
#3d2285
#3d2285
rgb(61,34,133)
-
#3a1b8c
#3a1b8c
rgb(58,27,140)
-
#371592
#371592
rgb(55,21,146)
-
#340e99
#340e99
rgb(52,14,153)
-
#32089f
#32089f
rgb(50,8,159)
-
#2f01a6
#2f01a6
rgb(47,1,166)
Tone Color Variation
Below, you can see how #40287f 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