#540cf2 Color Information

In a RGB color space, hex #540cf2 is composed of 32.9% red, 4.7% green and 94.9% blue. Whereas in a CMYK color space, it is composed of 65.3% cyan, 95% magenta, 0% yellow and 5.1% black. It has a hue angle of 258.8 degrees, a saturation of 90.6% and a lightness of 49.8%. #540cf2 color hex could be obtained by blending #a818ff with #0000e5. Closest websafe color is: #6600ff.

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

#540cf2 color description : Vivid violet.

#540cf2 Color Conversion

The hexadecimal color #540cf2 has RGB values of R:84, G:12, B:242 and CMYK values of C:0.65, M:0.95, Y:0, K:0.05. Its decimal value is 5508338.

Hex triplet 540cf2 #540cf2
RGB Decimal 84, 12, 242 rgb(84,12,242)
RGB Percent 32.9, 4.7, 94.9 rgb(32.9%,4.7%,94.9%)
CMYK 65, 95, 0, 5
HSL 258.8°, 90.6, 49.8 hsl(258.8,90.6%,49.8%)
HSV (or HSB) 258.8°, 95, 94.9
Web Safe 6600ff #6600ff
CIE-LAB 35.119, 76.12, -95.735
XYZ 19.812, 8.558, 84.607
xyY 0.175, 0.076, 8.558
CIE-LCH 35.119, 122.309, 308.489
CIE-LUV 35.119, -0.324, -126.345
Hunter-Lab 29.254, 69.693, -151.001
Binary 01010100, 00001100, 11110010

Color Schemes with #540cf2

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

Alternatives to #540cf2

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

Similar Colors

#540cf2 Preview

Text with hexadecimal color #540cf2

This text has a font color of #540cf2.

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

This paragraph has a background color of #540cf2.

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

This element has a border color of #540cf2.

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

Shades and Tints of #540cf2

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

Shade Color Variation
Tint Color Variation

Tones of #540cf2

A tone is produced by adding gray to any pure hue. In this case, #7c7787 is the less saturated color, while #5002fc is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cf2 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
  • #413260 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0059ac Protanopia 1% of men
  • #005e95 Deuteranopia 1% of men
  • #00646a Tritanopia 0.001% of the population
Trichromacy
  • #1e3dc5 Protanomaly 1% of men, 0.01% of women
  • #1e40b6 Deuteranomaly 6% of men, 0.4% of women
  • #1e449b Tritanomaly 0.01% of the population