#40394A color

#40394A rgb(64, 57, 74)
Shades of gray

The hex color #40394A is a dark, grayish violet.

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

Its hue angle is 265°, with 13% saturation and 26% lightness. For print, the CMYK equivalent is 14% cyan, 23% magenta, 0% yellow and 71% black.

The closest named color is Royal Decree (#403547), a difference of 2.2 ΔE, a small difference.

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

#40394A color codes

HEX#40394A
RGBrgb(64, 57, 74)
RGB percentrgb(25.1%, 22.4%, 29%)
HSLhsl(265, 13%, 26%)
HSV / HSBhsv(265, 23%, 29%)
CMYKcmyk(14%, 23%, 0%, 71%)
CIE LABlab(25.29, 7, -9.28)
CIE LCHlch(25.29, 11.63, 307.02)
CIE XYZxyz(4.813, 4.511, 7.094)
Decimal4208970
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Eggplant.

Questions

What color is #40394A?
#40394A is a dark, grayish violet, closest to the named color Royal Decree. It belongs to the gray family of colors.
What is the RGB value of #40394A?
The RGB value is 64, 57, 74: 64 red, 57 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #40394A?
The complementary color is #434A39, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40394A?
White text. Black text has a contrast ratio of 1.9:1 and white text 11.04:1. WCAG asks for at least 4.5:1 for normal text.