#5f21e7 Color Information

In a RGB color space, hex #5f21e7 is composed of 37.3% red, 12.9% green and 90.6% blue. Whereas in a CMYK color space, it is composed of 58.9% cyan, 85.7% magenta, 0% yellow and 9.4% black. It has a hue angle of 258.8 degrees, a saturation of 80.5% and a lightness of 51.8%. #5f21e7 color hex could be obtained by blending #be42ff with #0000cf. Closest websafe color is: #6633ff.

    • R 37
    • G 13
    • B 91
    RGB color chart
    • C 59
    • M 86
    • Y 0
    • K 9
    CMYK color chart

#5f21e7 color description : Vivid violet.

#5f21e7 Color Conversion

The hexadecimal color #5f21e7 has RGB values of R:95, G:33, B:231 and CMYK values of C:0.59, M:0.86, Y:0, K:0.09. Its decimal value is 6234599.

Hex triplet 5f21e7 #5f21e7
RGB Decimal 95, 33, 231 rgb(95,33,231)
RGB Percent 37.3, 12.9, 90.6 rgb(37.3%,12.9%,90.6%)
CMYK 59, 86, 0, 9
HSL 258.8°, 80.5, 51.8 hsl(258.8,80.5%,51.8%)
HSV (or HSB) 258.8°, 85.7, 90.6
Web Safe 6633ff #6633ff
CIE-LAB 36.536, 69.374, -87.106
XYZ 19.684, 9.29, 76.353
xyY 0.187, 0.088, 9.29
CIE-LCH 36.536, 111.357, 308.535
CIE-LUV 36.536, 2.397, -120.121
Hunter-Lab 30.479, 61.944, -127.193
Binary 01011111, 00100001, 11100111

Color Schemes with #5f21e7

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

Alternatives to #5f21e7

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

Similar Colors

#5f21e7 Preview

Text with hexadecimal color #5f21e7

This text has a font color of #5f21e7.

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

This paragraph has a background color of #5f21e7.

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

This element has a border color of #5f21e7.

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

Shades and Tints of #5f21e7

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

Shade Color Variation
Tint Color Variation

Tones of #5f21e7

A tone is produced by adding gray to any pure hue. In this case, #828088 is the less saturated color, while #580efa is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21e7 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.

  • #4a4a4a Achromatopsia 0.005% of the population
  • #4e4269 Atypical Achromatopsia 0.001% of the population
  • #005cb2 Protanopia 1% of men
  • #00619b Deuteranopia 1% of men
  • #00676f Tritanopia 0.001% of the population
  • #2246c5 Protanomaly 1% of men, 0.01% of women
  • #2249b6 Deuteranomaly 6% of men, 0.4% of women
  • #224e9a Tritanomaly 0.01% of the population