#540af8 hex color
In a RGB color space, hex #540af8 is composed of 32.9% red, 3.9% green and 97.3% blue. Whereas in a CMYK color space, it is composed of 66.1% cyan, 96% magenta, 0% yellow and 2.7% black. It has a hue angle of 258.7 degrees, a saturation of 94.4% and a lightness of 50.6%. #540af8 color hex could be obtained by blending #a814ff with #0000f1. Closest websafe color is: #6600ff.
-
- R 33
- G 4
- B 97
RGB color chart
-
- C 66
- M 96
- Y 0
- K 3
CMYK color chart
● #540af8 color description : Vivid violet.
The hexadecimal color #540af8 has RGB values of R:84, G:10, B:248 and CMYK values of C:0.66, M:0.96, Y:0, K:0.03. Its decimal value is 5507832.
Hex triplet | 540af8 | #540af8 |
---|---|---|
RGB Decimal | 84, 10, 248 | rgb(84,10,248) |
RGB Percent | 32.9, 3.9, 97.3 | rgb(32.9%,3.9%,97.3%) |
CMYK | 66, 96, 0, 3 | |
HSL | 258.7°, 94.4, 50.6 | hsl(258.7,94.4%,50.6%) |
HSV (or HSB) | 258.7°, 96, 97.3 | |
Web Safe | 6600ff | #6600ff |
CIE-LAB | 35.749, 77.792, -98.074 |
---|---|
XYZ | 20.705, 8.878, 89.424 |
xyY | 0.174, 0.075, 8.878 |
CIE-LCH | 35.749, 125.18, 308.422 |
CIE-LUV | 35.749, -0.77, -129.688 |
Hunter-Lab | 29.797, 71.891, -157.082 |
Binary | 01010100, 00001010, 11111000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540af8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540af8
This text has a font color of #540af8.
<span style="color:#540af8;">Text here</span>
#540af8 background color
This paragraph has a background color of #540af8.
<p style="background-color:#540af8;">Content here</p>
#540af8 border color
This element has a border color of #540af8.
<div style="border:1px solid #540af8;">Content here</div>
CSS codes
.text {color:#540af8;}
.background {background-color:#540af8;}
.border {border:1px solid #540af8;}
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 #f4efff is the lightest one.
-
#010003
#010003
rgb(1,0,3)
-
#070116
#070116
rgb(7,1,22)
-
#0e0129
#0e0129
rgb(14,1,41)
-
#14023c
#14023c
rgb(20,2,60)
-
#1a024f
#1a024f
rgb(26,2,79)
-
#200362
#200362
rgb(32,3,98)
-
#270375
#270375
rgb(39,3,117)
-
#2d0488
#2d0488
rgb(45,4,136)
-
#33049b
#33049b
rgb(51,4,155)
-
#3a05af
#3a05af
rgb(58,5,175)
-
#4006c2
#4006c2
rgb(64,6,194)
-
#4606d5
#4606d5
rgb(70,6,213)
-
#4d07e8
#4d07e8
rgb(77,7,232)
Shade Color Variation
-
#540af8
#540af8
rgb(84,10,248)
-
#611df9
#611df9
rgb(97,29,249)
-
#6f30f9
#6f30f9
rgb(111,48,249)
-
#7c43fa
#7c43fa
rgb(124,67,250)
-
#8956fa
#8956fa
rgb(137,86,250)
-
#9769fb
#9769fb
rgb(151,105,251)
-
#a47cfb
#a47cfb
rgb(164,124,251)
-
#b18ffc
#b18ffc
rgb(177,143,252)
-
#bea3fc
#bea3fc
rgb(190,163,252)
-
#ccb6fd
#ccb6fd
rgb(204,182,253)
-
#d9c9fd
#d9c9fd
rgb(217,201,253)
-
#e6dcfe
#e6dcfe
rgb(230,220,254)
-
#f4efff
#f4efff
rgb(244,239,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #807e84 is the less saturated color, while #540af8 is the most saturated one.
-
#807e84
#807e84
rgb(128,126,132)
-
#7c758d
#7c758d
rgb(124,117,141)
-
#796b97
#796b97
rgb(121,107,151)
-
#7561a1
#7561a1
rgb(117,97,161)
-
#7158aa
#7158aa
rgb(113,88,170)
-
#6e4eb4
#6e4eb4
rgb(110,78,180)
-
#6a44be
#6a44be
rgb(106,68,190)
-
#663ac8
#663ac8
rgb(102,58,200)
-
#6331d1
#6331d1
rgb(99,49,209)
-
#5f27db
#5f27db
rgb(95,39,219)
-
#5b1de5
#5b1de5
rgb(91,29,229)
-
#5814ee
#5814ee
rgb(88,20,238)
-
#540af8
#540af8
rgb(84,10,248)
Tone Color Variation
Below, you can see how #540af8 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