#540cf8 Color Information

In a RGB color space, hex #540cf8 is composed of 32.9% red, 4.7% green and 97.3% blue. Whereas in a CMYK color space, it is composed of 66.1% cyan, 95.2% magenta, 0% yellow and 2.7% black. It has a hue angle of 258.3 degrees, a saturation of 94.4% and a lightness of 51%. #540cf8 color hex could be obtained by blending #a818ff with #0000f1. Closest websafe color is: #6600ff.

    • R 33
    • G 5
    • B 97
    RGB color chart
    • C 66
    • M 95
    • Y 0
    • K 3
    CMYK color chart

#540cf8 color description : Vivid violet.

#540cf8 Color Conversion

The hexadecimal color #540cf8 has RGB values of R:84, G:12, B:248 and CMYK values of C:0.66, M:0.95, Y:0, K:0.03. Its decimal value is 5508344.

Hex triplet 540cf8 #540cf8
RGB Decimal 84, 12, 248 rgb(84,12,248)
RGB Percent 32.9, 4.7, 97.3 rgb(32.9%,4.7%,97.3%)
CMYK 66, 95, 0, 3
HSL 258.3°, 94.4, 51 hsl(258.3,94.4%,51%)
HSV (or HSB) 258.3°, 95.2, 97.3
Web Safe 6600ff #6600ff
CIE-LAB 35.838, 77.52, -97.926
XYZ 20.728, 8.924, 89.432
xyY 0.174, 0.075, 8.924
CIE-LCH 35.838, 124.895, 308.366
CIE-LUV 35.838, -0.83, -129.709
Hunter-Lab 29.873, 71.574, -156.585
Binary 01010100, 00001100, 11111000

Color Schemes with #540cf8

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #540cf8

Below, you can see some colors close to #540cf8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#540cf8 Preview

Text with hexadecimal color #540cf8

This text has a font color of #540cf8.

<span style="color:#540cf8;">Text here</span>
#540cf8 background color

This paragraph has a background color of #540cf8.

<p style="background-color:#540cf8;">Content here</p>
#540cf8 border color

This element has a border color of #540cf8.

<div style="border:1px solid #540cf8;">Content here</div>
CSS codes
.text {color:#540cf8;}
.background {background-color:#540cf8;}
.border {border:1px solid #540cf8;}

Shades and Tints of #540cf8

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, #020005 is the darkest color, while #f5f1ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540cf8

A tone is produced by adding gray to any pure hue. In this case, #817f85 is the less saturated color, while #540cf8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cf8 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #413262 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005aaf Protanopia 1% of men
  • #005f97 Deuteranopia 1% of men
  • #00666b Tritanopia 0.001% of the population
Trichromacy
  • #1e3ec9 Protanomaly 1% of men, 0.01% of women
  • #1e41ba Deuteranomaly 6% of men, 0.4% of women
  • #1e459e Tritanomaly 0.01% of the population