#5a1f85 Color Information

In a RGB color space, hex #5a1f85 is composed of 35.3% red, 12.2% green and 52.2% blue. Whereas in a CMYK color space, it is composed of 32.3% cyan, 76.7% magenta, 0% yellow and 47.8% black. It has a hue angle of 274.7 degrees, a saturation of 62.2% and a lightness of 32.2%. #5a1f85 color hex could be obtained by blending #b43eff with #00000b. Closest websafe color is: #663399.

    • R 35
    • G 12
    • B 52
    RGB color chart
    • C 32
    • M 77
    • Y 0
    • K 48
    CMYK color chart

#5a1f85 color description : Dark violet.

#5a1f85 Color Conversion

The hexadecimal color #5a1f85 has RGB values of R:90, G:31, B:133 and CMYK values of C:0.32, M:0.77, Y:0, K:0.48. Its decimal value is 5906309.

Hex triplet 5a1f85 #5a1f85
RGB Decimal 90, 31, 133 rgb(90,31,133)
RGB Percent 35.3, 12.2, 52.2 rgb(35.3%,12.2%,52.2%)
CMYK 32, 77, 0, 48
HSL 274.7°, 62.2, 32.2 hsl(274.7,62.2%,32.2%)
HSV (or HSB) 274.7°, 76.7, 52.2
Web Safe 663399 #663399
CIE-LAB 26.295, 45.078, -45.588
XYZ 8.939, 4.847, 22.654
xyY 0.245, 0.133, 4.847
CIE-LCH 26.295, 64.111, 314.678
CIE-LUV 26.295, 14.073, -60.417
Hunter-Lab 22.017, 33.948, -45.594
Binary 01011010, 00011111, 10000101

Color Schemes with #5a1f85

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

Alternatives to #5a1f85

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

Similar Colors

#5a1f85 Preview

Text with hexadecimal color #5a1f85

This text has a font color of #5a1f85.

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

This paragraph has a background color of #5a1f85.

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

This element has a border color of #5a1f85.

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

Shades and Tints of #5a1f85

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f85

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f85 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #42364b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004688 Protanopia 1% of men
  • #004979 Deuteranopia 1% of men
  • #544448 Tritanopia 0.001% of the population
Trichromacy
  • #203787 Protanomaly 1% of men, 0.01% of women
  • #203a7d Deuteranomaly 6% of men, 0.4% of women
  • #56365e Tritanomaly 0.01% of the population