#540cec Color Information

In a RGB color space, hex #540cec is composed of 32.9% red, 4.7% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 64.4% cyan, 94.9% magenta, 0% yellow and 7.5% black. It has a hue angle of 259.3 degrees, a saturation of 90.3% and a lightness of 48.6%. #540cec color hex could be obtained by blending #a818ff with #0000d9. Closest websafe color is: #6600ff.

    • R 33
    • G 5
    • B 93
    RGB color chart
    • C 64
    • M 95
    • Y 0
    • K 7
    CMYK color chart

#540cec color description : Vivid violet.

#540cec Color Conversion

The hexadecimal color #540cec has RGB values of R:84, G:12, B:236 and CMYK values of C:0.64, M:0.95, Y:0, K:0.07. Its decimal value is 5508332.

Hex triplet 540cec #540cec
RGB Decimal 84, 12, 236 rgb(84,12,236)
RGB Percent 32.9, 4.7, 92.5 rgb(32.9%,4.7%,92.5%)
CMYK 64, 95, 0, 7
HSL 259.3°, 90.3, 48.6 hsl(259.3,90.3%,48.6%)
HSV (or HSB) 259.3°, 94.9, 92.5
Web Safe 6600ff #6600ff
CIE-LAB 34.402, 74.717, -93.524
XYZ 18.925, 8.203, 79.938
xyY 0.177, 0.077, 8.203
CIE-LCH 34.402, 119.705, 308.622
CIE-LUV 34.402, 0.196, -122.971
Hunter-Lab 28.641, 67.825, -145.431
Binary 01010100, 00001100, 11101100

Color Schemes with #540cec

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

Alternatives to #540cec

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

Similar Colors

#540cec Preview

Text with hexadecimal color #540cec

This text has a font color of #540cec.

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

This paragraph has a background color of #540cec.

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

This element has a border color of #540cec.

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

Shades and Tints of #540cec

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

Shade Color Variation
Tint Color Variation

Tones of #540cec

A tone is produced by adding gray to any pure hue. In this case, #797583 is the less saturated color, while #5102f6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cec 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #40325e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0057a9 Protanopia 1% of men
  • #005c92 Deuteranopia 1% of men
  • #006268 Tritanopia 0.001% of the population
Trichromacy
  • #1e3cc1 Protanomaly 1% of men, 0.01% of women
  • #1e3fb3 Deuteranomaly 6% of men, 0.4% of women
  • #1e4398 Tritanomaly 0.01% of the population