#402774 hex color
In a RGB color space, hex #402774 is composed of 25.1% red, 15.3% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 66.4% magenta, 0% yellow and 54.5% black. It has a hue angle of 259.5 degrees, a saturation of 49.7% and a lightness of 30.4%. #402774 color hex could be obtained by blending #804ee8 with #000000. Closest websafe color is: #333366.
-
- R 25
- G 15
- B 45
RGB color chart
-
- C 45
- M 66
- Y 0
- K 55
CMYK color chart
● #402774 color description : Dark moderate violet.
The hexadecimal color #402774 has RGB values of R:64, G:39, B:116 and CMYK values of C:0.45, M:0.66, Y:0, K:0.55. Its decimal value is 4204404.
Hex triplet | 402774 | #402774 |
---|---|---|
RGB Decimal | 64, 39, 116 | rgb(64,39,116) |
RGB Percent | 25.1, 15.3, 45.5 | rgb(25.1%,15.3%,45.5%) |
CMYK | 45, 66, 0, 55 | |
HSL | 259.5°, 49.7, 30.4 | hsl(259.5,49.7%,30.4%) |
HSV (or HSB) | 259.5°, 66.4, 45.5 | |
Web Safe | 333366 | #333366 |
CIE-LAB | 23.006, 30.867, -40.317 |
---|---|
XYZ | 5.992, 3.802, 16.94 |
xyY | 0.224, 0.142, 3.802 |
CIE-LCH | 23.006, 50.776, 307.438 |
CIE-LUV | 23.006, 3.795, -50.174 |
Hunter-Lab | 19.499, 20.729, -37.862 |
Binary | 01000000, 00100111, 01110100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #402774. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #402774
This text has a font color of #402774.
<span style="color:#402774;">Text here</span>
#402774 background color
This paragraph has a background color of #402774.
<p style="background-color:#402774;">Content here</p>
#402774 border color
This element has a border color of #402774.
<div style="border:1px solid #402774;">Content here</div>
CSS codes
.text {color:#402774;}
.background {background-color:#402774;}
.border {border:1px solid #402774;}
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, #07040d is the darkest color, while #fefeff is the lightest one.
-
#07040d
#07040d
rgb(7,4,13)
-
#0f091c
#0f091c
rgb(15,9,28)
-
#180e2b
#180e2b
rgb(24,14,43)
-
#201339
#201339
rgb(32,19,57)
-
#281848
#281848
rgb(40,24,72)
-
#301d57
#301d57
rgb(48,29,87)
-
#382265
#382265
rgb(56,34,101)
-
#402774
#402774
rgb(64,39,116)
-
#482c83
#482c83
rgb(72,44,131)
-
#503191
#503191
rgb(80,49,145)
-
#5836a0
#5836a0
rgb(88,54,160)
-
#603baf
#603baf
rgb(96,59,175)
-
#6840bd
#6840bd
rgb(104,64,189)
Shade Color Variation
-
#744dc3
#744dc3
rgb(116,77,195)
-
#7f5cc8
#7f5cc8
rgb(127,92,200)
-
#8b6bcd
#8b6bcd
rgb(139,107,205)
-
#9679d2
#9679d2
rgb(150,121,210)
-
#a288d7
#a288d7
rgb(162,136,215)
-
#ad97dc
#ad97dc
rgb(173,151,220)
-
#b9a5e1
#b9a5e1
rgb(185,165,225)
-
#c4b4e6
#c4b4e6
rgb(196,180,230)
-
#d0c3eb
#d0c3eb
rgb(208,195,235)
-
#dbd2f0
#dbd2f0
rgb(219,210,240)
-
#e7e0f5
#e7e0f5
rgb(231,224,245)
-
#f2effa
#f2effa
rgb(242,239,250)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4b50 is the less saturated color, while #330398 is the most saturated one.
-
#4d4b50
#4d4b50
rgb(77,75,80)
-
#4a4556
#4a4556
rgb(74,69,86)
-
#483f5c
#483f5c
rgb(72,63,92)
-
#463962
#463962
rgb(70,57,98)
-
#443368
#443368
rgb(68,51,104)
-
#422d6e
#422d6e
rgb(66,45,110)
-
#402774
#402774
rgb(64,39,116)
-
#3e217a
#3e217a
rgb(62,33,122)
-
#3c1b80
#3c1b80
rgb(60,27,128)
-
#3a1586
#3a1586
rgb(58,21,134)
-
#380f8c
#380f8c
rgb(56,15,140)
-
#360992
#360992
rgb(54,9,146)
-
#330398
#330398
rgb(51,3,152)
Tone Color Variation
Below, you can see how #402774 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