#5a0c8a Color Information

In a RGB color space, hex #5a0c8a is composed of 35.3% red, 4.7% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 34.8% cyan, 91.3% magenta, 0% yellow and 45.9% black. It has a hue angle of 277.1 degrees, a saturation of 84% and a lightness of 29.4%. #5a0c8a color hex could be obtained by blending #b418ff with #000015. Closest websafe color is: #660099.

    • R 35
    • G 5
    • B 54
    RGB color chart
    • C 35
    • M 91
    • Y 0
    • K 46
    CMYK color chart

#5a0c8a color description : Dark violet.

#5a0c8a Color Conversion

The hexadecimal color #5a0c8a has RGB values of R:90, G:12, B:138 and CMYK values of C:0.35, M:0.91, Y:0, K:0.46. Its decimal value is 5901450.

Hex triplet 5a0c8a #5a0c8a
RGB Decimal 90, 12, 138 rgb(90,12,138)
RGB Percent 35.3, 4.7, 54.1 rgb(35.3%,4.7%,54.1%)
CMYK 35, 91, 0, 46
HSL 277.1°, 84, 29.4 hsl(277.1,84%,29.4%)
HSV (or HSB) 277.1°, 91.3, 54.1
Web Safe 660099 #660099
CIE-LAB 24.55, 52.558, -51.562
XYZ 8.935, 4.272, 24.397
xyY 0.238, 0.114, 4.272
CIE-LCH 24.55, 73.627, 315.548
CIE-LUV 24.55, 14.875, -65.546
Hunter-Lab 20.668, 40.994, -55.519
Binary 01011010, 00001100, 10001010

Color Schemes with #5a0c8a

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

Alternatives to #5a0c8a

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

Similar Colors

#5a0c8a Preview

Text with hexadecimal color #5a0c8a

This text has a font color of #5a0c8a.

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

This paragraph has a background color of #5a0c8a.

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

This element has a border color of #5a0c8a.

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

Shades and Tints of #5a0c8a

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, #08010c is the darkest color, while #fcf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a0c8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a0c8a 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
  • #323232 Achromatopsia 0.005% of the population
  • #3a2a44 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004671 Deuteranopia 1% of men
  • #513f44 Tritanopia 0.001% of the population
Trichromacy
  • #202e84 Protanomaly 1% of men, 0.01% of women
  • #20307a Deuteranomaly 6% of men, 0.4% of women
  • #542d5d Tritanomaly 0.01% of the population