#540cff Color Information

In a RGB color space, hex #540cff is composed of 32.9% red, 4.7% green and 100% blue. Whereas in a CMYK color space, it is composed of 67.1% cyan, 95.3% magenta, 0% yellow and 0% black. It has a hue angle of 257.8 degrees, a saturation of 100% and a lightness of 52.4%. #540cff color hex could be obtained by blending #a818ff with #0000ff. Closest websafe color is: #6600ff.

    • R 33
    • G 5
    • B 100
    RGB color chart
    • C 67
    • M 95
    • Y 0
    • K 0
    CMYK color chart

#540cff color description : Vivid violet.

#540cff Color Conversion

The hexadecimal color #540cff has RGB values of R:84, G:12, B:255 and CMYK values of C:0.67, M:0.95, Y:0, K:0. Its decimal value is 5508351.

Hex triplet 540cff #540cff
RGB Decimal 84, 12, 255 rgb(84,12,255)
RGB Percent 32.9, 4.7, 100 rgb(32.9%,4.7%,100%)
CMYK 67, 95, 0, 0
HSL 257.8°, 100, 52.4 hsl(257.8,100%,52.4%)
HSV (or HSB) 257.8°, 95.3, 100
Web Safe 6600ff #6600ff
CIE-LAB 36.681, 79.148, -100.455
XYZ 21.834, 9.367, 95.26
xyY 0.173, 0.074, 9.367
CIE-LCH 36.681, 127.889, 308.235
CIE-LUV 36.681, -1.403, -133.621
Hunter-Lab 30.605, 73.785, -163.118
Binary 01010100, 00001100, 11111111

Color Schemes with #540cff

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

Alternatives to #540cff

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

Similar Colors

#540cff Preview

Text with hexadecimal color #540cff

This text has a font color of #540cff.

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

This paragraph has a background color of #540cff.

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

This element has a border color of #540cff.

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

Shades and Tints of #540cff

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, #04000c is the darkest color, while #faf7ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540cff

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cff 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.

  • #3d3d3d Achromatopsia 0.005% of the population
  • #423364 Atypical Achromatopsia 0.001% of the population
  • #005cb3 Protanopia 1% of men
  • #00619a Deuteranopia 1% of men
  • #00686d Tritanopia 0.001% of the population
  • #1e3fce Protanomaly 1% of men, 0.01% of women
  • #1e42bf Deuteranomaly 6% of men, 0.4% of women
  • #1e46a2 Tritanomaly 0.01% of the population