#5f228b Color Information

In a RGB color space, hex #5f228b is composed of 37.3% red, 13.3% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 31.7% cyan, 75.5% magenta, 0% yellow and 45.5% black. It has a hue angle of 274.9 degrees, a saturation of 60.7% and a lightness of 33.9%. #5f228b color hex could be obtained by blending #be44ff with #000017. Closest websafe color is: #663399.

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

#5f228b color description : Dark violet.

#5f228b Color Conversion

The hexadecimal color #5f228b has RGB values of R:95, G:34, B:139 and CMYK values of C:0.32, M:0.76, Y:0, K:0.45. Its decimal value is 6234763.

Hex triplet 5f228b #5f228b
RGB Decimal 95, 34, 139 rgb(95,34,139)
RGB Percent 37.3, 13.3, 54.5 rgb(37.3%,13.3%,54.5%)
CMYK 32, 76, 0, 45
HSL 274.9°, 60.7, 33.9 hsl(274.9,60.7%,33.9%)
HSV (or HSB) 274.9°, 75.5, 54.5
Web Safe 663399 #663399
CIE-LAB 27.957, 46.187, -46.601
XYZ 9.951, 5.441, 24.951
xyY 0.247, 0.135, 5.441
CIE-LCH 27.957, 65.612, 314.745
CIE-LUV 27.957, 15.022, -63.266
Hunter-Lab 23.326, 35.325, -47.09
Binary 01011111, 00100010, 10001011

Color Schemes with #5f228b

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

Alternatives to #5f228b

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

Similar Colors

#5f228b Preview

Text with hexadecimal color #5f228b

This text has a font color of #5f228b.

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

This paragraph has a background color of #5f228b.

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

This element has a border color of #5f228b.

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

Shades and Tints of #5f228b

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

Shade Color Variation
Tint Color Variation

Tones of #5f228b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f228b 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
  • #404040 Achromatopsia 0.005% of the population
  • #463a4f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7f Deuteranopia 1% of men
  • #58474c Tritanopia 0.001% of the population
Trichromacy
  • #223b8d Protanomaly 1% of men, 0.01% of women
  • #223d83 Deuteranomaly 6% of men, 0.4% of women
  • #5a3963 Tritanomaly 0.01% of the population