#400039 color

#400039 rgb(64, 0, 57)
Shades of black

The hex color #400039 is a very dark, vivid magenta.

In the RGB color model it is made of 25.1% red, 0% green and 22.4% blue (64, 0, 57).

Its hue angle is 307°, with 100% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 11% yellow and 75% black.

The closest named color is Velvet Cosmos (#441144), a difference of 3.3 ΔE, a small difference.

White text is the more readable choice on this background (contrast 16.44:1).

#400039 color codes

HEX#400039
RGBrgb(64, 0, 57)
RGB percentrgb(25.1%, 0%, 22.4%)
HSLhsl(307, 100%, 13%)
HSV / HSBhsv(307, 100%, 25%)
CMYKcmyk(0%, 100%, 11%, 75%)
CIE LABlab(11.86, 35.29, -18.38)
CIE LCHlch(11.86, 39.79, 332.49)
CIE XYZxyz(2.853, 1.386, 3.987)
Decimal4194361
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #400039, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #400039RatioAAAAAAA large
Sample text1.28:1FailFailFail
Sample text16.44:1PassPassPass
#400039 as text onRatioAAAAAAA large
Sample text16.44:1PassPassPass
Sample text1.28:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #400039 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #400039; }
.text { color: #400039; }
.border { border: 2px solid #400039; }
.transparent { background-color: rgb(64 0 57 / 50%); }
.gradient { background: linear-gradient(to right, #400039, #400019); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #400039?
#400039 is a very dark, vivid magenta, closest to the named color Velvet Cosmos. It belongs to the black family of colors.
What is the RGB value of #400039?
The RGB value is 64, 0, 57: 64 red, 0 green and 57 blue on a 0 to 255 scale.
What is the complementary color of #400039?
The complementary color is #004007, found by rotating the hue 180° on the color wheel.
Is black or white text better on #400039?
White text. Black text has a contrast ratio of 1.28:1 and white text 16.44:1. WCAG asks for at least 4.5:1 for normal text.