#5f338a Color Information

In a RGB color space, hex #5f338a is composed of 37.3% red, 20% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 31.2% cyan, 63% magenta, 0% yellow and 45.9% black. It has a hue angle of 270.3 degrees, a saturation of 46% and a lightness of 37.1%. #5f338a color hex could be obtained by blending #be66ff with #000015. Closest websafe color is: #663399.

    • R 37
    • G 20
    • B 54
    RGB color chart
    • C 31
    • M 63
    • Y 0
    • K 46
    CMYK color chart

#5f338a color description : Dark moderate violet.

#5f338a Color Conversion

The hexadecimal color #5f338a has RGB values of R:95, G:51, B:138 and CMYK values of C:0.31, M:0.63, Y:0, K:0.46. Its decimal value is 6239114.

Hex triplet 5f338a #5f338a
RGB Decimal 95, 51, 138 rgb(95,51,138)
RGB Percent 37.3, 20, 54.1 rgb(37.3%,20%,54.1%)
CMYK 31, 63, 0, 46
HSL 270.3°, 46, 37.1 hsl(270.3,46%,37.1%)
HSV (or HSB) 270.3°, 63, 54.1
Web Safe 663399 #663399
CIE-LAB 30.963, 37.41, -41.124
XYZ 10.49, 6.636, 24.772
xyY 0.25, 0.158, 6.636
CIE-LCH 30.963, 55.594, 312.293
CIE-LUV 30.963, 11.987, -58.108
Hunter-Lab 25.76, 27.609, -38.984
Binary 01011111, 00110011, 10001010

Color Schemes with #5f338a

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

Alternatives to #5f338a

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

Similar Colors

#5f338a Preview

Text with hexadecimal color #5f338a

This text has a font color of #5f338a.

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

This paragraph has a background color of #5f338a.

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

This element has a border color of #5f338a.

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

Shades and Tints of #5f338a

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

Shade Color Variation
Tint Color Variation

Tones of #5f338a

A tone is produced by adding gray to any pure hue. In this case, #5f5766 is the less saturated color, while #6000bd is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f338a 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
  • #4e4557 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9c Protanopia 1% of men
  • #1f5388 Deuteranopia 1% of men
  • #5a4f55 Tritanopia 0.001% of the population
Trichromacy
  • #224595 Protanomaly 1% of men, 0.01% of women
  • #364788 Deuteranomaly 6% of men, 0.4% of women
  • #5b4568 Tritanomaly 0.01% of the population