#40278a Color Information

In a RGB color space, hex #40278a is composed of 25.1% red, 15.3% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 71.7% magenta, 0% yellow and 45.9% black. It has a hue angle of 255.2 degrees, a saturation of 55.9% and a lightness of 34.7%. #40278a color hex could be obtained by blending #804eff with #000015. Closest websafe color is: #333399.

    • R 25
    • G 15
    • B 54
    RGB color chart
    • C 54
    • M 72
    • Y 0
    • K 46
    CMYK color chart

#40278a color description : Dark violet.

#40278a Color Conversion

The hexadecimal color #40278a has RGB values of R:64, G:39, B:138 and CMYK values of C:0.54, M:0.72, Y:0, K:0.46. Its decimal value is 4204426.

Hex triplet 40278a #40278a
RGB Decimal 64, 39, 138 rgb(64,39,138)
RGB Percent 25.1, 15.3, 54.1 rgb(25.1%,15.3%,54.1%)
CMYK 54, 72, 0, 46
HSL 255.2°, 55.9, 34.7 hsl(255.2,55.9%,34.7%)
HSV (or HSB) 255.2°, 71.7, 54.1
Web Safe 333399 #333399
CIE-LAB 24.877, 37.562, -51.163
XYZ 7.426, 4.376, 24.497
xyY 0.205, 0.121, 4.376
CIE-LCH 24.877, 63.471, 306.285
CIE-LUV 24.877, 1.57, -64.555
Hunter-Lab 20.919, 26.764, -54.789
Binary 01000000, 00100111, 10001010

Color Schemes with #40278a

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

Alternatives to #40278a

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

Similar Colors

#40278a Preview

Text with hexadecimal color #40278a

This text has a font color of #40278a.

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

This paragraph has a background color of #40278a.

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

This element has a border color of #40278a.

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

Shades and Tints of #40278a

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

Shade Color Variation
Tint Color Variation

Tones of #40278a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #40278a 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #3b364a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004383 Protanopia 1% of men
  • #004672 Deuteranopia 1% of men
  • #2e494e Tritanopia 0.001% of the population
Trichromacy
  • #173885 Protanomaly 1% of men, 0.01% of women
  • #173b7b Deuteranomaly 6% of men, 0.4% of women
  • #353c64 Tritanomaly 0.01% of the population