colorhexa.com

#5f0098 hex color

In a RGB color space, hex #5f0098 is composed of 37.3% red, 0% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 100% magenta, 0% yellow and 40.4% black. It has a hue angle of 277.5 degrees, a saturation of 100% and a lightness of 29.8%. #5f0098 color hex could be obtained by blending #be00ff with #000031. Closest websafe color is: #660099.

    • R 37
    • G 0
    • B 60

    RGB color chart

    • C 38
    • M 100
    • Y 0
    • K 40

    CMYK color chart

#5f0098 color description : Dark violet.

The hexadecimal color #5f0098 has RGB values of R:95, G:0, B:152 and CMYK values of C:0.38, M:1, Y:0, K:0.4. Its decimal value is 6226072.

Hex triplet 5f0098 #5f0098
RGB Decimal 95, 0, 152 rgb(95,0,152)
RGB Percent 37.3, 0, 59.6 rgb(37.3%,0%,59.6%)
CMYK 38, 100, 0, 40
HSL 277.5°, 100, 29.8 hsl(277.5,100%,29.8%)
HSV (or HSB) 277.5°, 100, 59.6
Web Safe 660099 #660099
CIE-LAB 25.863, 58.599, -58.058
XYZ 10.386, 4.7, 30.064
xyY 0.23, 0.104, 4.7
CIE-LCH 25.863, 82.489, 315.266
CIE-LUV 25.863, 15.127, -74.33
Hunter-Lab 21.68, 47.574, -67.044
Binary 01011111, 00000000, 10011000

Complementary Color

Analogous Color

Split Complementary Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #5f0098

This text has a font color of #5f0098.

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

#5f0098 background color

This paragraph has a background color of #5f0098.

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

#5f0098 border color

This element has a border color of #5f0098.

<div style="border:1px solid #5f0098;">Content here</div>

CSS codes

.text {color:#5f0098;}
.background {background-color:#5f0098;}
.border {border:1px solid #5f0098;}

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, #09000f is the darkest color, while #fdfaff is the lightest one.

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #5f0098 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

  • #2e2e2e Achromatopsia 0.005% of the population
  • #382543 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004586 Protanopia 1% of men
  • #004975 Deuteranopia 1% of men
  • #534347 Tritanopia 0.001% of the population

Trichromacy

  • #222c8c Protanomaly 1% of men, 0.01% of women
  • #222e82 Deuteranomaly 6% of men, 0.4% of women
  • #572a65 Tritanomaly 0.01% of the population