#5a2f96 Color Information

In a RGB color space, hex #5a2f96 is composed of 35.3% red, 18.4% green and 58.8% blue. Whereas in a CMYK color space, it is composed of 40% cyan, 68.7% magenta, 0% yellow and 41.2% black. It has a hue angle of 265 degrees, a saturation of 52.3% and a lightness of 38.6%. #5a2f96 color hex could be obtained by blending #b45eff with #00002d. Closest websafe color is: #663399.

    • R 35
    • G 18
    • B 59
    RGB color chart
    • C 40
    • M 69
    • Y 0
    • K 41
    CMYK color chart

#5a2f96 color description : Dark moderate violet.

#5a2f96 Color Conversion

The hexadecimal color #5a2f96 has RGB values of R:90, G:47, B:150 and CMYK values of C:0.4, M:0.69, Y:0, K:0.41. Its decimal value is 5910422.

Hex triplet 5a2f96 #5a2f96
RGB Decimal 90, 47, 150 rgb(90,47,150)
RGB Percent 35.3, 18.4, 58.8 rgb(35.3%,18.4%,58.8%)
CMYK 40, 69, 0, 41
HSL 265°, 52.3, 38.6 hsl(265,52.3%,38.6%)
HSV (or HSB) 265°, 68.7, 58.8
Web Safe 663399 #663399
CIE-LAB 30.421, 41.614, -49.413
XYZ 10.737, 6.409, 29.524
xyY 0.23, 0.137, 6.409
CIE-LCH 30.421, 64.602, 310.103
CIE-LUV 30.421, 8.666, -68.502
Hunter-Lab 25.315, 31.405, -51.425
Binary 01011010, 00101111, 10010110

Color Schemes with #5a2f96

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

Alternatives to #5a2f96

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

Similar Colors

#5a2f96 Preview

Text with hexadecimal color #5a2f96

This text has a font color of #5a2f96.

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

This paragraph has a background color of #5a2f96.

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

This element has a border color of #5a2f96.

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

Shades and Tints of #5a2f96

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

Shade Color Variation
Tint Color Variation

Tones of #5a2f96

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f96 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
  • #484848 Achromatopsia 0.005% of the population
  • #4c4358 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e99 Protanopia 1% of men
  • #005288 Deuteranopia 1% of men
  • #4f5056 Tritanopia 0.001% of the population
Trichromacy
  • #204398 Protanomaly 1% of men, 0.01% of women
  • #20458d Deuteranomaly 6% of men, 0.4% of women
  • #53446d Tritanomaly 0.01% of the population