#540cfb Color Information

In a RGB color space, hex #540cfb is composed of 32.9% red, 4.7% green and 98.4% blue. Whereas in a CMYK color space, it is composed of 66.5% cyan, 95.2% magenta, 0% yellow and 1.6% black. It has a hue angle of 258.1 degrees, a saturation of 96.8% and a lightness of 51.6%. #540cfb color hex could be obtained by blending #a818ff with #0000f7. Closest websafe color is: #6600ff.

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

#540cfb color description : Vivid violet.

#540cfb Color Conversion

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

Hex triplet 540cfb #540cfb
RGB Decimal 84, 12, 251 rgb(84,12,251)
RGB Percent 32.9, 4.7, 98.4 rgb(32.9%,4.7%,98.4%)
CMYK 67, 95, 0, 2
HSL 258.1°, 96.8, 51.6 hsl(258.1,96.8%,51.6%)
HSV (or HSB) 258.1°, 95.2, 98.4
Web Safe 6600ff #6600ff
CIE-LAB 36.199, 78.218, -99.013
XYZ 21.197, 9.112, 91.903
xyY 0.173, 0.075, 9.112
CIE-LCH 36.199, 126.181, 308.308
CIE-LUV 36.199, -1.077, -131.387
Hunter-Lab 30.186, 72.52, -159.383
Binary 01010100, 00001100, 11111011

Color Schemes with #540cfb

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

Alternatives to #540cfb

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

Similar Colors

#540cfb Preview

Text with hexadecimal color #540cfb

This text has a font color of #540cfb.

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

This paragraph has a background color of #540cfb.

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

This element has a border color of #540cfb.

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

Shades and Tints of #540cfb

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

Shade Color Variation
Tint Color Variation

Tones of #540cfb

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540cfb 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
  • #005bb1 Protanopia 1% of men
  • #006099 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
  • #1e46a0 Tritanomaly 0.01% of the population