colorhexa.com

#540f9c hex color

In a RGB color space, hex #540f9c is composed of 32.9% red, 5.9% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 46.2% cyan, 90.4% magenta, 0% yellow and 38.8% black. It has a hue angle of 269.4 degrees, a saturation of 82.5% and a lightness of 33.5%. #540f9c color hex could be obtained by blending #a81eff with #000039. Closest websafe color is: #660099.

    • R 33
    • G 6
    • B 61

    RGB color chart

    • C 46
    • M 90
    • Y 0
    • K 39

    CMYK color chart

#540f9c color description : Dark violet.

The hexadecimal color #540f9c has RGB values of R:84, G:15, B:156 and CMYK values of C:0.46, M:0.9, Y:0, K:0.39. Its decimal value is 5509020.

Hex triplet 540f9c #540f9c
RGB Decimal 84, 15, 156 rgb(84,15,156)
RGB Percent 32.9, 5.9, 61.2 rgb(32.9%,5.9%,61.2%)
CMYK 46, 90, 0, 39
HSL 269.4°, 82.5, 33.5 hsl(269.4,82.5%,33.5%)
HSV (or HSB) 269.4°, 90.4, 61.2
Web Safe 660099 #660099
CIE-LAB 25.644, 55.172, -60.931
XYZ 9.827, 4.627, 31.826
xyY 0.212, 0.1, 4.627
CIE-LCH 25.644, 82.198, 312.161
CIE-LUV 25.644, 9.051, -76.671
Hunter-Lab 21.51, 43.905, -72.668
Binary 01010100, 00001111, 10011100

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #540f9c

This text has a font color of #540f9c.

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

#540f9c background color

This paragraph has a background color of #540f9c.

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

#540f9c border color

This element has a border color of #540f9c.

<div style="border:1px solid #540f9c;">Content here</div>

CSS codes

.text {color:#540f9c;}
.background {background-color:#540f9c;}
.border {border:1px solid #540f9c;}

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, #07010d is the darkest color, while #fcfaff is the lightest one.

Shade Color Variation

Tint Color Variation

A tone is produced by adding gray to any pure hue. In this case, #55515a is the less saturated color, while #5402a9 is the most saturated one.

Tone Color Variation

Below, you can see how #540f9c 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

  • #343434 Achromatopsia 0.005% of the population
  • #3a2d49 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004485 Protanopia 1% of men
  • #004874 Deuteranopia 1% of men
  • #42474c Tritanopia 0.001% of the population

Trichromacy

  • #1e318d Protanomaly 1% of men, 0.01% of women
  • #1e3383 Deuteranomaly 6% of men, 0.4% of women
  • #483269 Tritanomaly 0.01% of the population