#5a0c7e Color Information

In a RGB color space, hex #5a0c7e is composed of 35.3% red, 4.7% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 90.5% magenta, 0% yellow and 50.6% black. It has a hue angle of 281.1 degrees, a saturation of 82.6% and a lightness of 27.1%. #5a0c7e color hex could be obtained by blending #b418fc with #000000. Closest websafe color is: #660066.

    • R 35
    • G 5
    • B 49
    RGB color chart
    • C 29
    • M 90
    • Y 0
    • K 51
    CMYK color chart

#5a0c7e color description : Dark violet.

#5a0c7e Color Conversion

The hexadecimal color #5a0c7e has RGB values of R:90, G:12, B:126 and CMYK values of C:0.29, M:0.9, Y:0, K:0.51. Its decimal value is 5901438.

Hex triplet 5a0c7e #5a0c7e
RGB Decimal 90, 12, 126 rgb(90,12,126)
RGB Percent 35.3, 4.7, 49.4 rgb(35.3%,4.7%,49.4%)
CMYK 29, 90, 0, 51
HSL 281.1°, 82.6, 27.1 hsl(281.1,82.6%,27.1%)
HSV (or HSB) 281.1°, 90.5, 49.4
Web Safe 660066 #660066
CIE-LAB 23.483, 49.968, -45.75
XYZ 8.113, 3.943, 20.071
xyY 0.253, 0.123, 3.943
CIE-LCH 23.483, 67.749, 317.523
CIE-LUV 23.483, 17.323, -57.984
Hunter-Lab 19.858, 38.18, -46.028
Binary 01011010, 00001100, 01111110

Color Schemes with #5a0c7e

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

Alternatives to #5a0c7e

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

Similar Colors

#5a0c7e Preview

Text with hexadecimal color #5a0c7e

This text has a font color of #5a0c7e.

<span style="color:#5a0c7e;">Text here</span>
#5a0c7e background color

This paragraph has a background color of #5a0c7e.

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

This element has a border color of #5a0c7e.

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

Shades and Tints of #5a0c7e

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

Shade Color Variation
Tint Color Variation

Tones of #5a0c7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a0c7e 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
  • #303030 Achromatopsia 0.005% of the population
  • #382940 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00407d Protanopia 1% of men
  • #00436e Deuteranopia 1% of men
  • #553b3f Tritanopia 0.001% of the population
Trichromacy
  • #202d7d Protanomaly 1% of men, 0.01% of women
  • #202f74 Deuteranomaly 6% of men, 0.4% of women
  • #562a56 Tritanomaly 0.01% of the population