#400238 Color Information

In a RGB color space, hex #400238 is composed of 25.1% red, 0.8% green and 22% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 96.9% magenta, 12.5% yellow and 74.9% black. It has a hue angle of 307.7 degrees, a saturation of 93.9% and a lightness of 12.9%. #400238 color hex could be obtained by blending #800470 with #000000. Closest websafe color is: #330033.

    • R 25
    • G 1
    • B 22
    RGB color chart
    • C 0
    • M 97
    • Y 13
    • K 75
    CMYK color chart

#400238 color description : Very dark magenta.

#400238 Color Conversion

The hexadecimal color #400238 has RGB values of R:64, G:2, B:56 and CMYK values of C:0, M:0.97, Y:0.13, K:0.75. Its decimal value is 4194872.

Hex triplet 400238 #400238
RGB Decimal 64, 2, 56 rgb(64,2,56)
RGB Percent 25.1, 0.8, 22 rgb(25.1%,0.8%,22%)
CMYK 0, 97, 13, 75
HSL 307.7°, 93.9, 12.9 hsl(307.7,93.9%,12.9%)
HSV (or HSB) 307.7°, 96.9, 25.1
Web Safe 330033 #330033
CIE-LAB 12.085, 34.279, -17.308
XYZ 2.85, 1.419, 3.865
xyY 0.35, 0.174, 1.419
CIE-LCH 12.085, 38.401, 333.21
CIE-LUV 12.085, 19.038, -17.42
Hunter-Lab 11.913, 21.854, -10.897
Binary 01000000, 00000010, 00111000

Color Schemes with #400238

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

Alternatives to #400238

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

Similar Colors

#400238 Preview

Text with hexadecimal color #400238

This text has a font color of #400238.

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

This paragraph has a background color of #400238.

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

This element has a border color of #400238.

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

Shades and Tints of #400238

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

Shade Color Variation
Tint Color Variation

Tones of #400238

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #400238 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
  • #1b1b1b Achromatopsia 0.005% of the population
  • #221621 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002952 Protanopia 1% of men
  • #242a3c Deuteranopia 1% of men
  • #461d1f Tritanopia 0.001% of the population
Trichromacy
  • #171b48 Protanomaly 1% of men, 0.01% of women
  • #2e1c3a Deuteranomaly 6% of men, 0.4% of women
  • #441328 Tritanomaly 0.01% of the population