#5f21aa Color Information

In a RGB color space, hex #5f21aa is composed of 37.3% red, 12.9% green and 66.7% blue. Whereas in a CMYK color space, it is composed of 44.1% cyan, 80.6% magenta, 0% yellow and 33.3% black. It has a hue angle of 267.2 degrees, a saturation of 67.5% and a lightness of 39.8%. #5f21aa color hex could be obtained by blending #be42ff with #000055. Closest websafe color is: #663399.

    • R 37
    • G 13
    • B 67
    RGB color chart
    • C 44
    • M 81
    • Y 0
    • K 33
    CMYK color chart

#5f21aa color description : Dark violet.

#5f21aa Color Conversion

The hexadecimal color #5f21aa has RGB values of R:95, G:33, B:170 and CMYK values of C:0.44, M:0.81, Y:0, K:0.33. Its decimal value is 6234538.

Hex triplet 5f21aa #5f21aa
RGB Decimal 95, 33, 170 rgb(95,33,170)
RGB Percent 37.3, 12.9, 66.7 rgb(37.3%,12.9%,66.7%)
CMYK 44, 81, 0, 33
HSL 267.2°, 67.5, 39.8 hsl(267.2,67.5%,39.8%)
HSV (or HSB) 267.2°, 80.6, 66.7
Web Safe 663399 #663399
CIE-LAB 30.455, 54.151, -61.463
XYZ 12.518, 6.423, 38.608
xyY 0.218, 0.112, 6.423
CIE-LCH 30.455, 81.915, 311.381
CIE-LUV 30.455, 9.901, -83.563
Hunter-Lab 25.343, 43.814, -72.582
Binary 01011111, 00100001, 10101010

Color Schemes with #5f21aa

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

Alternatives to #5f21aa

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

Similar Colors

#5f21aa Preview

Text with hexadecimal color #5f21aa

This text has a font color of #5f21aa.

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

This paragraph has a background color of #5f21aa.

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

This element has a border color of #5f21aa.

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

Shades and Tints of #5f21aa

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

Shade Color Variation
Tint Color Variation

Tones of #5f21aa

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21aa 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
  • #434343 Achromatopsia 0.005% of the population
  • #493c58 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e99 Protanopia 1% of men
  • #005386 Deuteranopia 1% of men
  • #4d5157 Tritanopia 0.001% of the population
Trichromacy
  • #223e9f Protanomaly 1% of men, 0.01% of women
  • #224093 Deuteranomaly 6% of men, 0.4% of women
  • #533f75 Tritanomaly 0.01% of the population