#5f21cc Color Information

In a RGB color space, hex #5f21cc is composed of 37.3% red, 12.9% green and 80% blue. Whereas in a CMYK color space, it is composed of 53.4% cyan, 83.8% magenta, 0% yellow and 20% black. It has a hue angle of 261.8 degrees, a saturation of 72.2% and a lightness of 46.5%. #5f21cc color hex could be obtained by blending #be42ff with #000099. Closest websafe color is: #6633cc.

    • R 37
    • G 13
    • B 80
    RGB color chart
    • C 53
    • M 84
    • Y 0
    • K 20
    CMYK color chart

#5f21cc color description : Strong violet.

#5f21cc Color Conversion

The hexadecimal color #5f21cc has RGB values of R:95, G:33, B:204 and CMYK values of C:0.53, M:0.84, Y:0, K:0.2. Its decimal value is 6234572.

Hex triplet 5f21cc #5f21cc
RGB Decimal 95, 33, 204 rgb(95,33,204)
RGB Percent 37.3, 12.9, 80 rgb(37.3%,12.9%,80%)
CMYK 53, 84, 0, 20
HSL 261.8°, 72.2, 46.5 hsl(261.8,72.2%,46.5%)
HSV (or HSB) 261.8°, 83.8, 80
Web Safe 6633cc #6633cc
CIE-LAB 33.732, 62.636, -76.189
XYZ 16.16, 7.88, 57.793
xyY 0.197, 0.096, 7.88
CIE-LCH 33.732, 98.63, 309.424
CIE-LUV 33.732, 5.356, -104.314
Hunter-Lab 28.071, 53.636, -102.416
Binary 01011111, 00100001, 11001100

Color Schemes with #5f21cc

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

Alternatives to #5f21cc

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

Similar Colors

#5f21cc Preview

Text with hexadecimal color #5f21cc

This text has a font color of #5f21cc.

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

This paragraph has a background color of #5f21cc.

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

This element has a border color of #5f21cc.

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

Shades and Tints of #5f21cc

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 #f4f0fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f21cc

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21cc 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
  • #4c3f62 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0056a6 Protanopia 1% of men
  • #005a91 Deuteranopia 1% of men
  • #385e64 Tritanopia 0.001% of the population
Trichromacy
  • #2242b4 Protanomaly 1% of men, 0.01% of women
  • #2245a6 Deuteranomaly 6% of men, 0.4% of women
  • #46478a Tritanomaly 0.01% of the population