#5a2f95 Color Information

In a RGB color space, hex #5a2f95 is composed of 35.3% red, 18.4% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 68.5% magenta, 0% yellow and 41.6% black. It has a hue angle of 265.3 degrees, a saturation of 52% and a lightness of 38.4%. #5a2f95 color hex could be obtained by blending #b45eff with #00002b. Closest websafe color is: #663399.

    • R 35
    • G 18
    • B 58
    RGB color chart
    • C 40
    • M 68
    • Y 0
    • K 42
    CMYK color chart

#5a2f95 color description : Dark moderate violet.

#5a2f95 Color Conversion

The hexadecimal color #5a2f95 has RGB values of R:90, G:47, B:149 and CMYK values of C:0.4, M:0.68, Y:0, K:0.42. Its decimal value is 5910421.

Hex triplet 5a2f95 #5a2f95
RGB Decimal 90, 47, 149 rgb(90,47,149)
RGB Percent 35.3, 18.4, 58.4 rgb(35.3%,18.4%,58.4%)
CMYK 40, 68, 0, 42
HSL 265.3°, 52, 38.4 hsl(265.3,52%,38.4%)
HSV (or HSB) 265.3°, 68.5, 58.4
Web Safe 663399 #663399
CIE-LAB 30.343, 41.346, -48.927
XYZ 10.657, 6.377, 29.101
xyY 0.231, 0.138, 6.377
CIE-LCH 30.343, 64.057, 310.199
CIE-LUV 30.343, 8.809, -67.816
Hunter-Lab 25.252, 31.14, -50.652
Binary 01011010, 00101111, 10010101

Color Schemes with #5a2f95

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

Alternatives to #5a2f95

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

Similar Colors

#5a2f95 Preview

Text with hexadecimal color #5a2f95

This text has a font color of #5a2f95.

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

This paragraph has a background color of #5a2f95.

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

This element has a border color of #5a2f95.

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

Shades and Tints of #5a2f95

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, #09050f is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2f95

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f95 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
  • #474747 Achromatopsia 0.005% of the population
  • #4b4257 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e99 Protanopia 1% of men
  • #005287 Deuteranopia 1% of men
  • #505056 Tritanopia 0.001% of the population
Trichromacy
  • #204397 Protanomaly 1% of men, 0.01% of women
  • #20458c Deuteranomaly 6% of men, 0.4% of women
  • #53446d Tritanomaly 0.01% of the population