#5a227c Color Information

In a RGB color space, hex #5a227c is composed of 35.3% red, 13.3% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 27.4% cyan, 72.6% magenta, 0% yellow and 51.4% black. It has a hue angle of 277.3 degrees, a saturation of 57% and a lightness of 31%. #5a227c color hex could be obtained by blending #b444f8 with #000000. Closest websafe color is: #663366.

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

#5a227c color description : Dark violet.

#5a227c Color Conversion

The hexadecimal color #5a227c has RGB values of R:90, G:34, B:124 and CMYK values of C:0.27, M:0.73, Y:0, K:0.51. Its decimal value is 5907068.

Hex triplet 5a227c #5a227c
RGB Decimal 90, 34, 124 rgb(90,34,124)
RGB Percent 35.3, 13.3, 48.6 rgb(35.3%,13.3%,48.6%)
CMYK 27, 73, 0, 51
HSL 277.3°, 57, 31 hsl(277.3,57%,31%)
HSV (or HSB) 277.3°, 72.6, 48.6
Web Safe 663366 #663366
CIE-LAB 26.078, 41.573, -40.272
XYZ 8.426, 4.773, 19.545
xyY 0.257, 0.146, 4.773
CIE-LCH 26.078, 57.88, 315.911
CIE-LUV 26.078, 15.335, -53.742
Hunter-Lab 21.848, 30.61, -37.748
Binary 01011010, 00100010, 01111100

Color Schemes with #5a227c

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

Alternatives to #5a227c

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

Similar Colors

#5a227c Preview

Text with hexadecimal color #5a227c

This text has a font color of #5a227c.

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

This paragraph has a background color of #5a227c.

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

This element has a border color of #5a227c.

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

Shades and Tints of #5a227c

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

Shade Color Variation
Tint Color Variation

Tones of #5a227c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a227c 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #43384a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004588 Protanopia 1% of men
  • #004879 Deuteranopia 1% of men
  • #564247 Tritanopia 0.001% of the population
Trichromacy
  • #203883 Protanomaly 1% of men, 0.01% of women
  • #203a7a Deuteranomaly 6% of men, 0.4% of women
  • #57365a Tritanomaly 0.01% of the population