#540fa8 Color Information

In a RGB color space, hex #540fa8 is composed of 32.9% red, 5.9% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 91.1% magenta, 0% yellow and 34.1% black. It has a hue angle of 267.1 degrees, a saturation of 83.6% and a lightness of 35.9%. #540fa8 color hex could be obtained by blending #a81eff with #000051. Closest websafe color is: #660099.

    • R 33
    • G 6
    • B 66
    RGB color chart
    • C 50
    • M 91
    • Y 0
    • K 34
    CMYK color chart

#540fa8 color description : Dark violet.

#540fa8 Color Conversion

The hexadecimal color #540fa8 has RGB values of R:84, G:15, B:168 and CMYK values of C:0.5, M:0.91, Y:0, K:0.34. Its decimal value is 5509032.

Hex triplet 540fa8 #540fa8
RGB Decimal 84, 15, 168 rgb(84,15,168)
RGB Percent 32.9, 5.9, 65.9 rgb(32.9%,5.9%,65.9%)
CMYK 50, 91, 0, 34
HSL 267.1°, 83.6, 35.9 hsl(267.1,83.6%,35.9%)
HSV (or HSB) 267.1°, 91.1, 65.9
Web Safe 660099 #660099
CIE-LAB 26.887, 58.018, -66.18
XYZ 10.894, 5.054, 37.445
xyY 0.204, 0.095, 5.054
CIE-LCH 26.887, 88.011, 311.24
CIE-LUV 26.887, 7.373, -83.824
Hunter-Lab 22.48, 47.16, -83.023
Binary 01010100, 00001111, 10101000

Color Schemes with #540fa8

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

Alternatives to #540fa8

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

Similar Colors

#540fa8 Preview

Text with hexadecimal color #540fa8

This text has a font color of #540fa8.

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

This paragraph has a background color of #540fa8.

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

This element has a border color of #540fa8.

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

Shades and Tints of #540fa8

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

Shade Color Variation
Tint Color Variation

Tones of #540fa8

A tone is produced by adding gray to any pure hue. In this case, #5b5562 is the less saturated color, while #5301b6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540fa8 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
  • #353535 Achromatopsia 0.005% of the population
  • #3b2d4c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478a Protanopia 1% of men
  • #004b78 Deuteranopia 1% of men
  • #3c4c51 Tritanopia 0.001% of the population
Trichromacy
  • #1e3295 Protanomaly 1% of men, 0.01% of women
  • #1e3589 Deuteranomaly 6% of men, 0.4% of women
  • #443570 Tritanomaly 0.01% of the population