#5f21e6 Color Information

In a RGB color space, hex #5f21e6 is composed of 37.3% red, 12.9% green and 90.2% blue. Whereas in a CMYK color space, it is composed of 58.7% cyan, 85.7% magenta, 0% yellow and 9.8% black. It has a hue angle of 258.9 degrees, a saturation of 79.8% and a lightness of 51.6%. #5f21e6 color hex could be obtained by blending #be42ff with #0000cd. Closest websafe color is: #6633ff.

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

#5f21e6 color description : Vivid violet.

#5f21e6 Color Conversion

The hexadecimal color #5f21e6 has RGB values of R:95, G:33, B:230 and CMYK values of C:0.59, M:0.86, Y:0, K:0.1. Its decimal value is 6234598.

Hex triplet 5f21e6 #5f21e6
RGB Decimal 95, 33, 230 rgb(95,33,230)
RGB Percent 37.3, 12.9, 90.2 rgb(37.3%,12.9%,90.2%)
CMYK 59, 86, 0, 10
HSL 258.9°, 79.8, 51.6 hsl(258.9,79.8%,51.6%)
HSV (or HSB) 258.9°, 85.7, 90.2
Web Safe 6633ff #6633ff
CIE-LAB 36.429, 69.126, -86.712
XYZ 19.543, 9.233, 75.611
xyY 0.187, 0.088, 9.233
CIE-LCH 36.429, 110.894, 308.561
CIE-LUV 36.429, 2.498, -119.544
Hunter-Lab 30.386, 61.63, -126.263
Binary 01011111, 00100001, 11100110

Color Schemes with #5f21e6

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

Alternatives to #5f21e6

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

Similar Colors

#5f21e6 Preview

Text with hexadecimal color #5f21e6

This text has a font color of #5f21e6.

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

This paragraph has a background color of #5f21e6.

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

This element has a border color of #5f21e6.

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

Shades and Tints of #5f21e6

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

Shade Color Variation
Tint Color Variation

Tones of #5f21e6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21e6 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
  • #4a4a4a Achromatopsia 0.005% of the population
  • #4e4269 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb2 Protanopia 1% of men
  • #00619a Deuteranopia 1% of men
  • #00676f Tritanopia 0.001% of the population
Trichromacy
  • #2246c5 Protanomaly 1% of men, 0.01% of women
  • #2249b6 Deuteranomaly 6% of men, 0.4% of women
  • #224d9a Tritanomaly 0.01% of the population