#5f21ec Color Information

In a RGB color space, hex #5f21ec is composed of 37.3% red, 12.9% green and 92.5% blue. Whereas in a CMYK color space, it is composed of 59.7% cyan, 86% magenta, 0% yellow and 7.5% black. It has a hue angle of 258.3 degrees, a saturation of 84.2% and a lightness of 52.7%. #5f21ec color hex could be obtained by blending #be42ff with #0000d9. Closest websafe color is: #6633ff.

    • R 37
    • G 13
    • B 93
    RGB color chart
    • C 60
    • M 86
    • Y 0
    • K 7
    CMYK color chart

#5f21ec color description : Vivid violet.

#5f21ec Color Conversion

The hexadecimal color #5f21ec has RGB values of R:95, G:33, B:236 and CMYK values of C:0.6, M:0.86, Y:0, K:0.07. Its decimal value is 6234604.

Hex triplet 5f21ec #5f21ec
RGB Decimal 95, 33, 236 rgb(95,33,236)
RGB Percent 37.3, 12.9, 92.5 rgb(37.3%,12.9%,92.5%)
CMYK 60, 86, 0, 7
HSL 258.3°, 84.2, 52.7 hsl(258.3,84.2%,52.7%)
HSV (or HSB) 258.3°, 86, 92.5
Web Safe 6633ff #6633ff
CIE-LAB 37.071, 70.615, -89.064
XYZ 20.401, 9.576, 80.126
xyY 0.185, 0.087, 9.576
CIE-LCH 37.071, 113.662, 308.41
CIE-LUV 37.071, 1.898, -122.999
Hunter-Lab 30.945, 63.522, -131.856
Binary 01011111, 00100001, 11101100

Color Schemes with #5f21ec

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

Alternatives to #5f21ec

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

Similar Colors

#5f21ec Preview

Text with hexadecimal color #5f21ec

This text has a font color of #5f21ec.

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

This paragraph has a background color of #5f21ec.

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

This element has a border color of #5f21ec.

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

Shades and Tints of #5f21ec

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, #05010d is the darkest color, while #fbfaff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f21ec

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f21ec 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #4f436b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db4 Protanopia 1% of men
  • #00629c Deuteranopia 1% of men
  • #006970 Tritanopia 0.001% of the population
Trichromacy
  • #2247c8 Protanomaly 1% of men, 0.01% of women
  • #224ab9 Deuteranomaly 6% of men, 0.4% of women
  • #224f9d Tritanomaly 0.01% of the population