#401340 color

#401340 rgb(64, 19, 64)
Shades of purple

The hex color #401340 is a very dark, moderate magenta.

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

Its hue angle is 300°, with 54% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 70% magenta, 0% yellow and 75% black.

The closest named color is Velvet Cosmos (#441144), a difference of 1.4 ΔE, which is barely visible.

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

#401340 color codes

HEX#401340
RGBrgb(64, 19, 64)
RGB percentrgb(25.1%, 7.5%, 25.1%)
HSLhsl(300, 54%, 16%)
HSV / HSBhsv(300, 70%, 25%)
CMYKcmyk(0%, 70%, 0%, 75%)
CIE LABlab(15.09, 28.63, -18.24)
CIE LCHlch(15.09, 33.95, 327.5)
CIE XYZxyz(3.273, 1.926, 5.049)
Decimal4199232
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #401340, 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 #401340RatioAAAAAAA large
Sample text1.39:1FailFailFail
Sample text15.16:1PassPassPass
#401340 as text onRatioAAAAAAA large
Sample text15.16:1PassPassPass
Sample text1.39: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 #401340 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Dark Purple.

Questions

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