#400158 Color Information

In a RGB color space, hex #400158 is composed of 25.1% red, 0.4% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 27.3% cyan, 98.9% magenta, 0% yellow and 65.5% black. It has a hue angle of 283.4 degrees, a saturation of 97.8% and a lightness of 17.5%. #400158 color hex could be obtained by blending #8002b0 with #000000. Closest websafe color is: #330066.

    • R 25
    • G 0
    • B 35
    RGB color chart
    • C 27
    • M 99
    • Y 0
    • K 65
    CMYK color chart

#400158 color description : Very dark violet.

#400158 Color Conversion

The hexadecimal color #400158 has RGB values of R:64, G:1, B:88 and CMYK values of C:0.27, M:0.99, Y:0, K:0.65. Its decimal value is 4194648.

Hex triplet 400158 #400158
RGB Decimal 64, 1, 88 rgb(64,1,88)
RGB Percent 25.1, 0.4, 34.5 rgb(25.1%,0.4%,34.5%)
CMYK 27, 99, 0, 65
HSL 283.4°, 97.8, 17.5 hsl(283.4,97.8%,17.5%)
HSV (or HSB) 283.4°, 98.9, 34.5
Web Safe 330066 #330066
CIE-LAB 14.493, 40.822, -35.75
XYZ 3.886, 1.816, 9.378
xyY 0.258, 0.12, 1.816
CIE-LCH 14.493, 54.263, 318.789
CIE-LUV 14.493, 12.145, -36.268
Hunter-Lab 13.477, 27.888, -31.821
Binary 01000000, 00000001, 01011000

Color Schemes with #400158

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

Alternatives to #400158

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

Similar Colors

#400158 Preview

Text with hexadecimal color #400158

This text has a font color of #400158.

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

This paragraph has a background color of #400158.

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

This element has a border color of #400158.

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

Shades and Tints of #400158

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, #08000a is the darkest color, while #fcf6ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #400158

A tone is produced by adding gray to any pure hue. In this case, #2e2a2f is the less saturated color, while #400158 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400158 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
  • #1e1e1e Achromatopsia 0.005% of the population
  • #25182a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002e5a Protanopia 1% of men
  • #003150 Deuteranopia 1% of men
  • #40292c Tritanopia 0.001% of the population
Trichromacy
  • #171e59 Protanomaly 1% of men, 0.01% of women
  • #171f53 Deuteranomaly 6% of men, 0.4% of women
  • #401a3c Tritanomaly 0.01% of the population