#400ca8 hex color
In a RGB color space, hex #400ca8 is composed of 25.1% red, 4.7% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 61.9% cyan, 92.9% magenta, 0% yellow and 34.1% black. It has a hue angle of 260 degrees, a saturation of 86.7% and a lightness of 35.3%. #400ca8 color hex could be obtained by blending #8018ff with #000051. Closest websafe color is: #330099.
-
- R 25
- G 5
- B 66
RGB color chart
-
- C 62
- M 93
- Y 0
- K 34
CMYK color chart
● #400ca8 color description : Dark violet.
The hexadecimal color #400ca8 has RGB values of R:64, G:12, B:168 and CMYK values of C:0.62, M:0.93, Y:0, K:0.34. Its decimal value is 4197544.
Hex triplet | 400ca8 | #400ca8 |
---|---|---|
RGB Decimal | 64, 12, 168 | rgb(64,12,168) |
RGB Percent | 25.1, 4.7, 65.9 | rgb(25.1%,4.7%,65.9%) |
CMYK | 62, 93, 0, 34 | |
HSL | 260°, 86.7, 35.3 | hsl(260,86.7%,35.3%) |
HSV (or HSB) | 260°, 92.9, 65.9 | |
Web Safe | 330099 | #330099 |
CIE-LAB | 24.257, 56.982, -70.607 |
---|---|
XYZ | 9.312, 4.18, 37.36 |
xyY | 0.183, 0.082, 4.18 |
CIE-LCH | 24.257, 90.732, 308.904 |
CIE-LUV | 24.257, 1.421, -83.247 |
Hunter-Lab | 20.445, 45.528, -94.033 |
Binary | 01000000, 00001100, 10101000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #400ca8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #400ca8
This text has a font color of #400ca8.
<span style="color:#400ca8;">Text here</span>
#400ca8 background color
This paragraph has a background color of #400ca8.
<p style="background-color:#400ca8;">Content here</p>
#400ca8 border color
This element has a border color of #400ca8.
<div style="border:1px solid #400ca8;">Content here</div>
CSS codes
.text {color:#400ca8;}
.background {background-color:#400ca8;}
.border {border:1px solid #400ca8;}
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, #010003 is the darkest color, while #f5f0fe is the lightest one.
-
#010003
#010003
rgb(1,0,3)
-
#080216
#080216
rgb(8,2,22)
-
#0f0328
#0f0328
rgb(15,3,40)
-
#16043a
#16043a
rgb(22,4,58)
-
#1d054c
#1d054c
rgb(29,5,76)
-
#24075f
#24075f
rgb(36,7,95)
-
#2b0871
#2b0871
rgb(43,8,113)
-
#320983
#320983
rgb(50,9,131)
-
#390b96
#390b96
rgb(57,11,150)
-
#400ca8
#400ca8
rgb(64,12,168)
-
#470dba
#470dba
rgb(71,13,186)
-
#4e0fcd
#4e0fcd
rgb(78,15,205)
-
#5510df
#5510df
rgb(85,16,223)
Shade Color Variation
-
#5d14ee
#5d14ee
rgb(93,20,238)
-
#6a27f0
#6a27f0
rgb(106,39,240)
-
#7639f1
#7639f1
rgb(118,57,241)
-
#834bf2
#834bf2
rgb(131,75,242)
-
#8f5df3
#8f5df3
rgb(143,93,243)
-
#9c70f5
#9c70f5
rgb(156,112,245)
-
#a982f6
#a982f6
rgb(169,130,246)
-
#b594f7
#b594f7
rgb(181,148,247)
-
#c2a7f9
#c2a7f9
rgb(194,167,249)
-
#cfb9fa
#cfb9fa
rgb(207,185,250)
-
#dbcbfb
#dbcbfb
rgb(219,203,251)
-
#e8defd
#e8defd
rgb(232,222,253)
-
#f5f0fe
#f5f0fe
rgb(245,240,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #59585c is the less saturated color, while #3e05af is the most saturated one.
-
#59585c
#59585c
rgb(89,88,92)
-
#575163
#575163
rgb(87,81,99)
-
#554a6a
#554a6a
rgb(85,74,106)
-
#524371
#524371
rgb(82,67,113)
-
#503c78
#503c78
rgb(80,60,120)
-
#4e367e
#4e367e
rgb(78,54,126)
-
#4c2f85
#4c2f85
rgb(76,47,133)
-
#49288c
#49288c
rgb(73,40,140)
-
#472193
#472193
rgb(71,33,147)
-
#451a9a
#451a9a
rgb(69,26,154)
-
#4213a1
#4213a1
rgb(66,19,161)
-
#400ca8
#400ca8
rgb(64,12,168)
-
#3e05af
#3e05af
rgb(62,5,175)
Tone Color Variation
Below, you can see how #400ca8 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