#5a227f Color Information

In a RGB color space, hex #5a227f is composed of 35.3% red, 13.3% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 29.1% cyan, 73.2% magenta, 0% yellow and 50.2% black. It has a hue angle of 276.1 degrees, a saturation of 57.8% and a lightness of 31.6%. #5a227f color hex could be obtained by blending #b444fe with #000000. Closest websafe color is: #663366.

    • R 35
    • G 13
    • B 50
    RGB color chart
    • C 29
    • M 73
    • Y 0
    • K 50
    CMYK color chart

#5a227f color description : Dark violet.

#5a227f Color Conversion

The hexadecimal color #5a227f has RGB values of R:90, G:34, B:127 and CMYK values of C:0.29, M:0.73, Y:0, K:0.5. Its decimal value is 5907071.

Hex triplet 5a227f #5a227f
RGB Decimal 90, 34, 127 rgb(90,34,127)
RGB Percent 35.3, 13.3, 49.8 rgb(35.3%,13.3%,49.8%)
CMYK 29, 73, 0, 50
HSL 276.1°, 57.8, 31.6 hsl(276.1,57.8%,31.6%)
HSV (or HSB) 276.1°, 73.2, 49.8
Web Safe 663366 #663366
CIE-LAB 26.304, 42.288, -41.803
XYZ 8.619, 4.85, 20.56
xyY 0.253, 0.143, 4.85
CIE-LCH 26.304, 59.462, 315.331
CIE-LUV 26.304, 14.757, -55.801
Hunter-Lab 22.023, 31.315, -39.934
Binary 01011010, 00100010, 01111111

Color Schemes with #5a227f

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

Alternatives to #5a227f

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

Similar Colors

#5a227f Preview

Text with hexadecimal color #5a227f

This text has a font color of #5a227f.

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

This paragraph has a background color of #5a227f.

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

This element has a border color of #5a227f.

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

Shades and Tints of #5a227f

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

Shade Color Variation
Tint Color Variation

Tones of #5a227f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a227f 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
  • #004688 Protanopia 1% of men
  • #00497a Deuteranopia 1% of men
  • #554348 Tritanopia 0.001% of the population
Trichromacy
  • #203885 Protanomaly 1% of men, 0.01% of women
  • #203b7b Deuteranomaly 6% of men, 0.4% of women
  • #57375c Tritanomaly 0.01% of the population