#5f238c Color Information

In a RGB color space, hex #5f238c is composed of 37.3% red, 13.7% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 32.1% cyan, 75% magenta, 0% yellow and 45.1% black. It has a hue angle of 274.3 degrees, a saturation of 60% and a lightness of 34.3%. #5f238c color hex could be obtained by blending #be46ff with #000019. Closest websafe color is: #663399.

    • R 37
    • G 14
    • B 55
    RGB color chart
    • C 32
    • M 75
    • Y 0
    • K 45
    CMYK color chart

#5f238c color description : Dark violet.

#5f238c Color Conversion

The hexadecimal color #5f238c has RGB values of R:95, G:35, B:140 and CMYK values of C:0.32, M:0.75, Y:0, K:0.45. Its decimal value is 6235020.

Hex triplet 5f238c #5f238c
RGB Decimal 95, 35, 140 rgb(95,35,140)
RGB Percent 37.3, 13.7, 54.9 rgb(37.3%,13.7%,54.9%)
CMYK 32, 75, 0, 45
HSL 274.3°, 60, 34.3 hsl(274.3,60%,34.3%)
HSV (or HSB) 274.3°, 75, 54.9
Web Safe 663399 #663399
CIE-LAB 28.191, 45.984, -46.842
XYZ 10.053, 5.529, 25.347
xyY 0.246, 0.135, 5.529
CIE-LCH 28.191, 65.641, 314.471
CIE-LUV 28.191, 14.686, -63.75
Hunter-Lab 23.513, 35.172, -47.456
Binary 01011111, 00100011, 10001100

Color Schemes with #5f238c

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

Alternatives to #5f238c

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

Similar Colors

#5f238c Preview

Text with hexadecimal color #5f238c

This text has a font color of #5f238c.

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

This paragraph has a background color of #5f238c.

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

This element has a border color of #5f238c.

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

Shades and Tints of #5f238c

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, #0a040e is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f238c

A tone is produced by adding gray to any pure hue. In this case, #58525d is the less saturated color, while #6401ae is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f238c 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
  • #414141 Achromatopsia 0.005% of the population
  • #473b50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a90 Protanopia 1% of men
  • #004d80 Deuteranopia 1% of men
  • #58484d Tritanopia 0.001% of the population
Trichromacy
  • #223b8e Protanomaly 1% of men, 0.01% of women
  • #223e84 Deuteranomaly 6% of men, 0.4% of women
  • #5a3a64 Tritanomaly 0.01% of the population