#400c52 hex color
In a RGB color space, hex #400c52 is composed of 25.1% red, 4.7% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 22% cyan, 85.4% magenta, 0% yellow and 67.8% black. It has a hue angle of 284.6 degrees, a saturation of 74.5% and a lightness of 18.4%. #400c52 color hex could be obtained by blending #8018a4 with #000000. Closest websafe color is: #330066.
-
- R 25
- G 5
- B 32
RGB color chart
-
- C 22
- M 85
- Y 0
- K 68
CMYK color chart
● #400c52 color description : Very dark violet.
The hexadecimal color #400c52 has RGB values of R:64, G:12, B:82 and CMYK values of C:0.22, M:0.85, Y:0, K:0.68. Its decimal value is 4197458.
Hex triplet | 400c52 | #400c52 |
---|---|---|
RGB Decimal | 64, 12, 82 | rgb(64,12,82) |
RGB Percent | 25.1, 4.7, 32.2 | rgb(25.1%,4.7%,32.2%) |
CMYK | 22, 85, 0, 68 | |
HSL | 284.6°, 74.5, 18.4 | hsl(284.6,74.5%,18.4%) |
HSV (or HSB) | 284.6°, 85.4, 32.2 | |
Web Safe | 330066 | #330066 |
CIE-LAB | 15.288, 35.635, -30.385 |
---|---|
XYZ | 3.769, 1.962, 8.162 |
xyY | 0.271, 0.141, 1.962 |
CIE-LCH | 15.288, 46.831, 319.547 |
CIE-LUV | 15.288, 12.613, -32.238 |
Hunter-Lab | 14.008, 23.508, -24.742 |
Binary | 01000000, 00001100, 01010010 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #400c52. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #400c52
This text has a font color of #400c52.
<span style="color:#400c52;">Text here</span>
#400c52 background color
This paragraph has a background color of #400c52.
<p style="background-color:#400c52;">Content here</p>
#400c52 border color
This element has a border color of #400c52.
<div style="border:1px solid #400c52;">Content here</div>
CSS codes
.text {color:#400c52;}
.background {background-color:#400c52;}
.border {border:1px solid #400c52;}
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, #0b020e is the darkest color, while #fefbfe is the lightest one.
-
#0b020e
#0b020e
rgb(11,2,14)
-
#18041f
#18041f
rgb(24,4,31)
-
#250730
#250730
rgb(37,7,48)
-
#330941
#330941
rgb(51,9,65)
-
#400c52
#400c52
rgb(64,12,82)
-
#4d0f63
#4d0f63
rgb(77,15,99)
-
#5b1174
#5b1174
rgb(91,17,116)
-
#681485
#681485
rgb(104,20,133)
-
#751696
#751696
rgb(117,22,150)
-
#8319a8
#8319a8
rgb(131,25,168)
-
#901bb9
#901bb9
rgb(144,27,185)
-
#9d1eca
#9d1eca
rgb(157,30,202)
-
#ab20db
#ab20db
rgb(171,32,219)
Shade Color Variation
-
#b32ee0
#b32ee0
rgb(179,46,224)
-
#b93fe3
#b93fe3
rgb(185,63,227)
-
#bf50e5
#bf50e5
rgb(191,80,229)
-
#c561e8
#c561e8
rgb(197,97,232)
-
#cc73ea
#cc73ea
rgb(204,115,234)
-
#d284ed
#d284ed
rgb(210,132,237)
-
#d895ef
#d895ef
rgb(216,149,239)
-
#dea6f2
#dea6f2
rgb(222,166,242)
-
#e5b7f4
#e5b7f4
rgb(229,183,244)
-
#ebc8f7
#ebc8f7
rgb(235,200,247)
-
#f1d9f9
#f1d9f9
rgb(241,217,249)
-
#f7eafc
#f7eafc
rgb(247,234,252)
-
#fefbfe
#fefbfe
rgb(254,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #302d31 is the less saturated color, while #45015d is the most saturated one.
-
#302d31
#302d31
rgb(48,45,49)
-
#322935
#322935
rgb(50,41,53)
-
#342539
#342539
rgb(52,37,57)
-
#35223c
#35223c
rgb(53,34,60)
-
#371e40
#371e40
rgb(55,30,64)
-
#391a44
#391a44
rgb(57,26,68)
-
#3b1747
#3b1747
rgb(59,23,71)
-
#3c134b
#3c134b
rgb(60,19,75)
-
#3e104e
#3e104e
rgb(62,16,78)
-
#400c52
#400c52
rgb(64,12,82)
-
#420856
#420856
rgb(66,8,86)
-
#440559
#440559
rgb(68,5,89)
-
#45015d
#45015d
rgb(69,1,93)
Tone Color Variation
Below, you can see how #400c52 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