#5a1274 Color Information

In a RGB color space, hex #5a1274 is composed of 35.3% red, 7.1% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 22.4% cyan, 84.5% magenta, 0% yellow and 54.5% black. It has a hue angle of 284.1 degrees, a saturation of 73.1% and a lightness of 26.3%. #5a1274 color hex could be obtained by blending #b424e8 with #000000. Closest websafe color is: #660066.

    • R 35
    • G 7
    • B 45
    RGB color chart
    • C 22
    • M 84
    • Y 0
    • K 55
    CMYK color chart

#5a1274 color description : Dark violet.

#5a1274 Color Conversion

The hexadecimal color #5a1274 has RGB values of R:90, G:18, B:116 and CMYK values of C:0.22, M:0.84, Y:0, K:0.55. Its decimal value is 5902964.

Hex triplet 5a1274 #5a1274
RGB Decimal 90, 18, 116 rgb(90,18,116)
RGB Percent 35.3, 7.1, 45.5 rgb(35.3%,7.1%,45.5%)
CMYK 22, 84, 0, 55
HSL 284.1°, 73.1, 26.3 hsl(284.1,73.1%,26.3%)
HSV (or HSB) 284.1°, 84.5, 45.5
Web Safe 660066 #660066
CIE-LAB 23.229, 46.175, -39.782
XYZ 7.585, 3.868, 16.869
xyY 0.268, 0.137, 3.868
CIE-LCH 23.229, 60.949, 319.254
CIE-LUV 23.229, 19.097, -50.972
Hunter-Lab 19.666, 34.428, -37.091
Binary 01011010, 00010010, 01110100

Color Schemes with #5a1274

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

Alternatives to #5a1274

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

Similar Colors

#5a1274 Preview

Text with hexadecimal color #5a1274

This text has a font color of #5a1274.

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

This paragraph has a background color of #5a1274.

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

This element has a border color of #5a1274.

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

Shades and Tints of #5a1274

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

Shade Color Variation
Tint Color Variation

Tones of #5a1274

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1274 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
  • #333333 Achromatopsia 0.005% of the population
  • #3b2c40 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7c Protanopia 1% of men
  • #00426f Deuteranopia 1% of men
  • #57393d Tritanopia 0.001% of the population
Trichromacy
  • #202f79 Protanomaly 1% of men, 0.01% of women
  • #203170 Deuteranomaly 6% of men, 0.4% of women
  • #582b51 Tritanomaly 0.01% of the population