#402551 color

#402551 rgb(64, 37, 81)
Shades of purple

The hex color #402551 is a dark, desaturated violet.

In the RGB color model it is made of 25.1% red, 14.5% green and 31.8% blue (64, 37, 81).

Its hue angle is 277°, with 37% saturation and 23% lightness. For print, the CMYK equivalent is 21% cyan, 54% magenta, 0% yellow and 68% black.

The closest named color is Acai (#48295B), a difference of 2.4 ΔE, a small difference.

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

#402551 color codes

HEX#402551
RGBrgb(64, 37, 81)
RGB percentrgb(25.1%, 14.5%, 31.8%)
HSLhsl(277, 37%, 23%)
HSV / HSBhsv(277, 54%, 32%)
CMYKcmyk(21%, 54%, 0%, 68%)
CIE LABlab(20.07, 22.13, -22.05)
CIE LCHlch(20.07, 31.24, 315.1)
CIE XYZxyz(4.261, 3.007, 8.139)
Decimal4203857
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #402551; }
.text { color: #402551; }
.border { border: 2px solid #402551; }
.transparent { background-color: rgb(64 37 81 / 50%); }
.gradient { background: linear-gradient(to right, #402551, #51254c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #402551?
#402551 is a dark, desaturated violet, closest to the named color Acai. It belongs to the purple family of colors.
What is the RGB value of #402551?
The RGB value is 64, 37, 81: 64 red, 37 green and 81 blue on a 0 to 255 scale.
What is the complementary color of #402551?
The complementary color is #365125, found by rotating the hue 180° on the color wheel.
Is black or white text better on #402551?
White text. Black text has a contrast ratio of 1.6:1 and white text 13.11:1. WCAG asks for at least 4.5:1 for normal text.