#540cf7 Color Information

In a RGB color space, hex #540cf7 is composed of 32.9% red, 4.7% green and 96.9% blue. Whereas in a CMYK color space, it is composed of 66% cyan, 95.1% magenta, 0% yellow and 3.1% black. It has a hue angle of 258.4 degrees, a saturation of 93.6% and a lightness of 50.8%. #540cf7 color hex could be obtained by blending #a818ff with #0000ef. 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

#540cf7 color description : Vivid violet.

#540cf7 Color Conversion

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

Hex triplet 540cf7 #540cf7
RGB Decimal 84, 12, 247 rgb(84,12,247)
RGB Percent 32.9, 4.7, 96.9 rgb(32.9%,4.7%,96.9%)
CMYK 66, 95, 0, 3
HSL 258.4°, 93.6, 50.8 hsl(258.4,93.6%,50.8%)
HSV (or HSB) 258.4°, 95.1, 96.9
Web Safe 6600ff #6600ff
CIE-LAB 35.718, 77.287, -97.562
XYZ 20.573, 8.862, 88.617
xyY 0.174, 0.075, 8.862
CIE-LCH 35.718, 124.465, 308.386
CIE-LUV 35.718, -0.746, -129.149
Hunter-Lab 29.77, 71.26, -155.653
Binary 01010100, 00001100, 11110111

Color Schemes with #540cf7

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

Alternatives to #540cf7

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

Similar Colors

#540cf7 Preview

Text with hexadecimal color #540cf7

This text has a font color of #540cf7.

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

This paragraph has a background color of #540cf7.

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

This element has a border color of #540cf7.

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

Shades and Tints of #540cf7

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

Shade Color Variation
Tint Color Variation

Tones of #540cf7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cf7 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
  • #413261 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
  • #1e3dc9 Protanomaly 1% of men, 0.01% of women
  • #1e41ba Deuteranomaly 6% of men, 0.4% of women
  • #1e459e Tritanomaly 0.01% of the population