#403754 color

#403754 rgb(64, 55, 84)
Shades of purple

The hex color #403754 is a dark, grayish violet.

In the RGB color model it is made of 25.1% red, 21.6% green and 32.9% blue (64, 55, 84).

Its hue angle is 259°, with 21% saturation and 27% lightness. For print, the CMYK equivalent is 24% cyan, 35% magenta, 0% yellow and 67% black.

The closest named color is Maharaja (#3F354F), a difference of 1.3 ΔE, which is barely visible.

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

#403754 color codes

HEX#403754
RGBrgb(64, 55, 84)
RGB percentrgb(25.1%, 21.6%, 32.9%)
HSLhsl(259, 21%, 27%)
HSV / HSBhsv(259, 35%, 33%)
CMYKcmyk(24%, 35%, 0%, 67%)
CIE LABlab(25.14, 11, -16.12)
CIE LCHlch(25.14, 19.51, 304.31)
CIE XYZxyz(5.08, 4.462, 8.979)
Decimal4208468
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #403754; }
.text { color: #403754; }
.border { border: 2px solid #403754; }
.transparent { background-color: rgb(64 55 84 / 50%); }
.gradient { background: linear-gradient(to right, #403754, #4e3754); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #403754?
#403754 is a dark, grayish violet, closest to the named color Maharaja. It belongs to the purple family of colors.
What is the RGB value of #403754?
The RGB value is 64, 55, 84: 64 red, 55 green and 84 blue on a 0 to 255 scale.
What is the complementary color of #403754?
The complementary color is #4B5437, found by rotating the hue 180° on the color wheel.
Is black or white text better on #403754?
White text. Black text has a contrast ratio of 1.89:1 and white text 11.1:1. WCAG asks for at least 4.5:1 for normal text.