#40245a hex color
In a RGB color space, hex #40245a is composed of 25.1% red, 14.1% green and 35.3% blue. Whereas in a CMYK color space, it is composed of 28.9% cyan, 60% magenta, 0% yellow and 64.7% black. It has a hue angle of 271.1 degrees, a saturation of 42.9% and a lightness of 24.7%. #40245a color hex could be obtained by blending #8048b4 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 14
- B 35
RGB color chart
-
- C 29
- M 60
- Y 0
- K 65
CMYK color chart
● #40245a color description : Very dark violet.
The hexadecimal color #40245a has RGB values of R:64, G:36, B:90 and CMYK values of C:0.29, M:0.6, Y:0, K:0.65. Its decimal value is 4203610.
Hex triplet | 40245a | #40245a |
---|---|---|
RGB Decimal | 64, 36, 90 | rgb(64,36,90) |
RGB Percent | 25.1, 14.1, 35.3 | rgb(25.1%,14.1%,35.3%) |
CMYK | 29, 60, 0, 65 | |
HSL | 271.1°, 42.9, 24.7 | hsl(271.1,42.9%,24.7%) |
HSV (or HSB) | 271.1°, 60, 35.3 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 20.401, 25.185, -27.556 |
---|---|
XYZ | 4.59, 3.09, 10.027 |
xyY | 0.259, 0.175, 3.09 |
CIE-LCH | 20.401, 37.332, 312.426 |
CIE-LUV | 20.401, 7.635, -33.176 |
Hunter-Lab | 17.578, 15.851, -21.515 |
Binary | 01000000, 00100100, 01011010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #40245a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #40245a
This text has a font color of #40245a.
<span style="color:#40245a;">Text here</span>
#40245a background color
This paragraph has a background color of #40245a.
<p style="background-color:#40245a;">Content here</p>
#40245a border color
This element has a border color of #40245a.
<div style="border:1px solid #40245a;">Content here</div>
CSS codes
.text {color:#40245a;}
.background {background-color:#40245a;}
.border {border:1px solid #40245a;}
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, #040206 is the darkest color, while #f9f7fc is the lightest one.
-
#040206
#040206
rgb(4,2,6)
-
#0e0814
#0e0814
rgb(14,8,20)
-
#180e22
#180e22
rgb(24,14,34)
-
#221330
#221330
rgb(34,19,48)
-
#2c193e
#2c193e
rgb(44,25,62)
-
#361e4c
#361e4c
rgb(54,30,76)
-
#40245a
#40245a
rgb(64,36,90)
-
#4a2a68
#4a2a68
rgb(74,42,104)
-
#542f76
#542f76
rgb(84,47,118)
-
#5e3584
#5e3584
rgb(94,53,132)
-
#683a92
#683a92
rgb(104,58,146)
-
#7240a0
#7240a0
rgb(114,64,160)
-
#7c46ae
#7c46ae
rgb(124,70,174)
Shade Color Variation
-
#864fb9
#864fb9
rgb(134,79,185)
-
#8f5dbe
#8f5dbe
rgb(143,93,190)
-
#996bc4
#996bc4
rgb(153,107,196)
-
#a379c9
#a379c9
rgb(163,121,201)
-
#ac87cf
#ac87cf
rgb(172,135,207)
-
#b695d5
#b695d5
rgb(182,149,213)
-
#c0a3da
#c0a3da
rgb(192,163,218)
-
#c9b1e0
#c9b1e0
rgb(201,177,224)
-
#d3bfe5
#d3bfe5
rgb(211,191,229)
-
#dccdeb
#dccdeb
rgb(220,205,235)
-
#e6dbf1
#e6dbf1
rgb(230,219,241)
-
#f0e9f6
#f0e9f6
rgb(240,233,246)
-
#f9f7fc
#f9f7fc
rgb(249,247,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3f3c42 is the less saturated color, while #41027c is the most saturated one.
-
#3f3c42
#3f3c42
rgb(63,60,66)
-
#3f3747
#3f3747
rgb(63,55,71)
-
#3f334b
#3f334b
rgb(63,51,75)
-
#402e50
#402e50
rgb(64,46,80)
-
#402955
#402955
rgb(64,41,85)
-
#40245a
#40245a
rgb(64,36,90)
-
#401f5f
#401f5f
rgb(64,31,95)
-
#401a64
#401a64
rgb(64,26,100)
-
#411569
#411569
rgb(65,21,105)
-
#41116d
#41116d
rgb(65,17,109)
-
#410c72
#410c72
rgb(65,12,114)
-
#410777
#410777
rgb(65,7,119)
-
#41027c
#41027c
rgb(65,2,124)
Tone Color Variation
Below, you can see how #40245a 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