#5f21ea Color Information

In a RGB color space, hex #5f21ea is composed of 37.3% red, 12.9% green and 91.8% blue. Whereas in a CMYK color space, it is composed of 59.4% cyan, 85.9% magenta, 0% yellow and 8.2% black. It has a hue angle of 258.5 degrees, a saturation of 82.7% and a lightness of 52.4%. #5f21ea color hex could be obtained by blending #be42ff with #0000d5. Closest websafe color is: #6633ff.

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

#5f21ea color description : Vivid violet.

#5f21ea Color Conversion

The hexadecimal color #5f21ea has RGB values of R:95, G:33, B:234 and CMYK values of C:0.59, M:0.86, Y:0, K:0.08. Its decimal value is 6234602.

Hex triplet 5f21ea #5f21ea
RGB Decimal 95, 33, 234 rgb(95,33,234)
RGB Percent 37.3, 12.9, 91.8 rgb(37.3%,12.9%,91.8%)
CMYK 59, 86, 0, 8
HSL 258.5°, 82.7, 52.4 hsl(258.5,82.7%,52.4%)
HSV (or HSB) 258.5°, 85.9, 91.8
Web Safe 6633ff #6633ff
CIE-LAB 36.856, 70.119, -88.283
XYZ 20.112, 9.461, 78.604
xyY 0.186, 0.087, 9.461
CIE-LCH 36.856, 112.741, 308.459
CIE-LUV 36.856, 2.096, -121.85
Hunter-Lab 30.758, 62.89, -129.988
Binary 01011111, 00100001, 11101010

Color Schemes with #5f21ea

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

Alternatives to #5f21ea

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

Similar Colors

#5f21ea Preview

Text with hexadecimal color #5f21ea

This text has a font color of #5f21ea.

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

This paragraph has a background color of #5f21ea.

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

This element has a border color of #5f21ea.

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

Shades and Tints of #5f21ea

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, #04010b is the darkest color, while #faf8fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f21ea

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21ea 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
  • #4e426a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005cb4 Protanopia 1% of men
  • #00629c Deuteranopia 1% of men
  • #006870 Tritanopia 0.001% of the population
Trichromacy
  • #2247c7 Protanomaly 1% of men, 0.01% of women
  • #224ab8 Deuteranomaly 6% of men, 0.4% of women
  • #224e9c Tritanomaly 0.01% of the population