#401D48 color

#401D48 rgb(64, 29, 72)
Shades of purple

The hex color #401D48 is a very dark, desaturated magenta.

In the RGB color model it is made of 25.1% red, 11.4% green and 28.2% blue (64, 29, 72).

Its hue angle is 289°, with 43% saturation and 20% lightness. For print, the CMYK equivalent is 11% cyan, 60% magenta, 0% yellow and 72% black.

The closest named color is Creatures of the Night (#3B193F), a difference of 2.1 ΔE, a small difference.

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

#401D48 color codes

HEX#401D48
RGBrgb(64, 29, 72)
RGB percentrgb(25.1%, 11.4%, 28.2%)
HSLhsl(289, 43%, 20%)
HSV / HSBhsv(289, 60%, 28%)
CMYKcmyk(11%, 60%, 0%, 72%)
CIE LABlab(17.63, 24.85, -19.8)
CIE LCHlch(17.63, 31.77, 321.46)
CIE XYZxyz(3.723, 2.437, 6.404)
Decimal4201800
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #401D48, 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 #401D48RatioAAAAAAA large
Sample text1.49:1FailFailFail
Sample text14.12:1PassPassPass
#401D48 as text onRatioAAAAAAA large
Sample text14.12:1PassPassPass
Sample text1.49: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 #401D48 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #401d48; }
.text { color: #401d48; }
.border { border: 2px solid #401d48; }
.transparent { background-color: rgb(64 29 72 / 50%); }
.gradient { background: linear-gradient(to right, #401d48, #481d3a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #401D48?
#401D48 is a very dark, desaturated magenta, closest to the named color Creatures of the Night. It belongs to the purple family of colors.
What is the RGB value of #401D48?
The RGB value is 64, 29, 72: 64 red, 29 green and 72 blue on a 0 to 255 scale.
What is the complementary color of #401D48?
The complementary color is #25481D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #401D48?
White text. Black text has a contrast ratio of 1.49:1 and white text 14.12:1. WCAG asks for at least 4.5:1 for normal text.