#401f8a hex color
In a RGB color space, hex #401f8a is composed of 25.1% red, 12.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 77.5% magenta, 0% yellow and 45.9% black. It has a hue angle of 258.5 degrees, a saturation of 63.3% and a lightness of 33.1%. #401f8a color hex could be obtained by blending #803eff with #000015. Closest websafe color is: #333399.
-
- R 25
- G 12
- B 54
RGB color chart
-
- C 54
- M 78
- Y 0
- K 46
CMYK color chart
● #401f8a color description : Dark violet.
The hexadecimal color #401f8a has RGB values of R:64, G:31, B:138 and CMYK values of C:0.54, M:0.78, Y:0, K:0.46. Its decimal value is 4202378.
Hex triplet | 401f8a | #401f8a |
---|---|---|
RGB Decimal | 64, 31, 138 | rgb(64,31,138) |
RGB Percent | 25.1, 12.2, 54.1 | rgb(25.1%,12.2%,54.1%) |
CMYK | 54, 78, 0, 46 | |
HSL | 258.5°, 63.3, 33.1 | hsl(258.5,63.3%,33.1%) |
HSV (or HSB) | 258.5°, 77.5, 54.1 | |
Web Safe | 333399 | #333399 |
CIE-LAB | 23.354, 41.842, -53.659 |
---|---|
XYZ | 7.191, 3.905, 24.418 |
xyY | 0.202, 0.11, 3.905 |
CIE-LCH | 23.354, 68.044, 307.946 |
CIE-LUV | 23.354, 2.753, -65.439 |
Hunter-Lab | 19.761, 30.376, -59.432 |
Binary | 01000000, 00011111, 10001010 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #401f8a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #401f8a
This text has a font color of #401f8a.
<span style="color:#401f8a;">Text here</span>
#401f8a background color
This paragraph has a background color of #401f8a.
<p style="background-color:#401f8a;">Content here</p>
#401f8a border color
This element has a border color of #401f8a.
<div style="border:1px solid #401f8a;">Content here</div>
CSS codes
.text {color:#401f8a;}
.background {background-color:#401f8a;}
.border {border:1px solid #401f8a;}
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, #05020a is the darkest color, while #faf9fe is the lightest one.
-
#05020a
#05020a
rgb(5,2,10)
-
#0c061a
#0c061a
rgb(12,6,26)
-
#13092a
#13092a
rgb(19,9,42)
-
#1b0d3a
#1b0d3a
rgb(27,13,58)
-
#22114a
#22114a
rgb(34,17,74)
-
#2a145a
#2a145a
rgb(42,20,90)
-
#31186a
#31186a
rgb(49,24,106)
-
#391b7a
#391b7a
rgb(57,27,122)
-
#401f8a
#401f8a
rgb(64,31,138)
-
#47239a
#47239a
rgb(71,35,154)
-
#4f26aa
#4f26aa
rgb(79,38,170)
-
#562aba
#562aba
rgb(86,42,186)
-
#5e2dca
#5e2dca
rgb(94,45,202)
Shade Color Variation
-
#6839d2
#6839d2
rgb(104,57,210)
-
#7449d6
#7449d6
rgb(116,73,214)
-
#8059da
#8059da
rgb(128,89,218)
-
#8d69dd
#8d69dd
rgb(141,105,221)
-
#9979e1
#9979e1
rgb(153,121,225)
-
#a589e4
#a589e4
rgb(165,137,228)
-
#b199e8
#b199e8
rgb(177,153,232)
-
#bda9ec
#bda9ec
rgb(189,169,236)
-
#cab9ef
#cab9ef
rgb(202,185,239)
-
#d6c9f3
#d6c9f3
rgb(214,201,243)
-
#e2d9f6
#e2d9f6
rgb(226,217,246)
-
#eee9fa
#eee9fa
rgb(238,233,250)
-
#faf9fe
#faf9fe
rgb(250,249,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #545356 is the less saturated color, while #3605a4 is the most saturated one.
-
#545356
#545356
rgb(84,83,86)
-
#514d5d
#514d5d
rgb(81,77,93)
-
#4f4663
#4f4663
rgb(79,70,99)
-
#4c406a
#4c406a
rgb(76,64,106)
-
#4a3970
#4a3970
rgb(74,57,112)
-
#473377
#473377
rgb(71,51,119)
-
#452c7d
#452c7d
rgb(69,44,125)
-
#422684
#422684
rgb(66,38,132)
-
#401f8a
#401f8a
rgb(64,31,138)
-
#3e1991
#3e1991
rgb(62,25,145)
-
#3b1297
#3b1297
rgb(59,18,151)
-
#390c9e
#390c9e
rgb(57,12,158)
-
#3605a4
#3605a4
rgb(54,5,164)
Tone Color Variation
Below, you can see how #401f8a 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