#540cfa Color Information

In a RGB color space, hex #540cfa is composed of 32.9% red, 4.7% green and 98% blue. Whereas in a CMYK color space, it is composed of 66.4% cyan, 95.2% magenta, 0% yellow and 2% black. It has a hue angle of 258.2 degrees, a saturation of 96% and a lightness of 51.4%. #540cfa color hex could be obtained by blending #a818ff with #0000f5. Closest websafe color is: #6600ff.

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

#540cfa color description : Vivid violet.

#540cfa Color Conversion

The hexadecimal color #540cfa has RGB values of R:84, G:12, B:250 and CMYK values of C:0.66, M:0.95, Y:0, K:0.02. Its decimal value is 5508346.

Hex triplet 540cfa #540cfa
RGB Decimal 84, 12, 250 rgb(84,12,250)
RGB Percent 32.9, 4.7, 98 rgb(32.9%,4.7%,98%)
CMYK 66, 95, 0, 2
HSL 258.2°, 96, 51.4 hsl(258.2,96%,51.4%)
HSV (or HSB) 258.2°, 95.2, 98
Web Safe 6600ff #6600ff
CIE-LAB 36.078, 77.986, -98.651
XYZ 21.04, 9.049, 91.075
xyY 0.174, 0.075, 9.049
CIE-LCH 36.078, 125.753, 308.327
CIE-LUV 36.078, -0.995, -130.828
Hunter-Lab 30.082, 72.204, -158.45
Binary 01010100, 00001100, 11111010

Color Schemes with #540cfa

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

Alternatives to #540cfa

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

Similar Colors

#540cfa Preview

Text with hexadecimal color #540cfa

This text has a font color of #540cfa.

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

This paragraph has a background color of #540cfa.

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

This element has a border color of #540cfa.

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

Shades and Tints of #540cfa

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

Shade Color Variation
Tint Color Variation

Tones of #540cfa

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cfa 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #423363 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb0 Protanopia 1% of men
  • #006098 Deuteranopia 1% of men
  • #00676c Tritanopia 0.001% of the population
Trichromacy
  • #1e3ecb Protanomaly 1% of men, 0.01% of women
  • #1e41bc Deuteranomaly 6% of men, 0.4% of women
  • #1e459f Tritanomaly 0.01% of the population