#5a1f7c Color Information

In a RGB color space, hex #5a1f7c is composed of 35.3% red, 12.2% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 27.4% cyan, 75% magenta, 0% yellow and 51.4% black. It has a hue angle of 278.1 degrees, a saturation of 60% and a lightness of 30.4%. #5a1f7c color hex could be obtained by blending #b43ef8 with #000000. Closest websafe color is: #663366.

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

#5a1f7c color description : Dark violet.

#5a1f7c Color Conversion

The hexadecimal color #5a1f7c has RGB values of R:90, G:31, B:124 and CMYK values of C:0.27, M:0.75, Y:0, K:0.51. Its decimal value is 5906300.

Hex triplet 5a1f7c #5a1f7c
RGB Decimal 90, 31, 124 rgb(90,31,124)
RGB Percent 35.3, 12.2, 48.6 rgb(35.3%,12.2%,48.6%)
CMYK 27, 75, 0, 51
HSL 278.1°, 60, 30.4 hsl(278.1,60%,30.4%)
HSV (or HSB) 278.1°, 75, 48.6
Web Safe 663366 #663366
CIE-LAB 25.591, 42.949, -41.06
XYZ 8.344, 4.609, 19.518
xyY 0.257, 0.142, 4.609
CIE-LCH 25.591, 59.419, 316.288
CIE-LUV 25.591, 15.806, -54.359
Hunter-Lab 21.469, 31.805, -38.874
Binary 01011010, 00011111, 01111100

Color Schemes with #5a1f7c

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

Alternatives to #5a1f7c

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

Similar Colors

#5a1f7c Preview

Text with hexadecimal color #5a1f7c

This text has a font color of #5a1f7c.

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

This paragraph has a background color of #5a1f7c.

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

This element has a border color of #5a1f7c.

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

Shades and Tints of #5a1f7c

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, #0a040e is the darkest color, while #fefdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1f7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f7c 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #413548 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004486 Protanopia 1% of men
  • #004777 Deuteranopia 1% of men
  • #564145 Tritanopia 0.001% of the population
Trichromacy
  • #203682 Protanomaly 1% of men, 0.01% of women
  • #203979 Deuteranomaly 6% of men, 0.4% of women
  • #573459 Tritanomaly 0.01% of the population