#5a1f82 Color Information

In a RGB color space, hex #5a1f82 is composed of 35.3% red, 12.2% green and 51% blue. Whereas in a CMYK color space, it is composed of 30.8% cyan, 76.2% magenta, 0% yellow and 49% black. It has a hue angle of 275.8 degrees, a saturation of 61.5% and a lightness of 31.6%. #5a1f82 color hex could be obtained by blending #b43eff with #000005. Closest websafe color is: #663399.

    • R 35
    • G 12
    • B 51
    RGB color chart
    • C 31
    • M 76
    • Y 0
    • K 49
    CMYK color chart

#5a1f82 color description : Dark violet.

#5a1f82 Color Conversion

The hexadecimal color #5a1f82 has RGB values of R:90, G:31, B:130 and CMYK values of C:0.31, M:0.76, Y:0, K:0.49. Its decimal value is 5906306.

Hex triplet 5a1f82 #5a1f82
RGB Decimal 90, 31, 130 rgb(90,31,130)
RGB Percent 35.3, 12.2, 51 rgb(35.3%,12.2%,51%)
CMYK 31, 76, 0, 49
HSL 275.8°, 61.5, 31.6 hsl(275.8,61.5%,31.6%)
HSV (or HSB) 275.8°, 76.2, 51
Web Safe 663399 #663399
CIE-LAB 26.056, 44.363, -44.093
XYZ 8.735, 4.766, 21.578
xyY 0.249, 0.136, 4.766
CIE-LCH 26.056, 62.548, 315.175
CIE-LUV 26.056, 14.637, -58.412
Hunter-Lab 21.83, 33.222, -43.323
Binary 01011010, 00011111, 10000010

Color Schemes with #5a1f82

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

Alternatives to #5a1f82

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

Similar Colors

#5a1f82 Preview

Text with hexadecimal color #5a1f82

This text has a font color of #5a1f82.

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

This paragraph has a background color of #5a1f82.

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

This element has a border color of #5a1f82.

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

Shades and Tints of #5a1f82

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f82

A tone is produced by adding gray to any pure hue. In this case, #524a57 is the less saturated color, while #6000a1 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f82 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
  • #42364a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004978 Deuteranopia 1% of men
  • #544347 Tritanopia 0.001% of the population
Trichromacy
  • #203785 Protanomaly 1% of men, 0.01% of women
  • #20397c Deuteranomaly 6% of men, 0.4% of women
  • #56355c Tritanomaly 0.01% of the population