#402737 color

#402737 rgb(64, 39, 55)
Shades of purple

The hex color #402737 is a dark, grayish rose.

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

Its hue angle is 322°, with 24% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 14% yellow and 75% black.

The closest named color is Castro (#44232F), a difference of 3.8 ΔE, a small difference.

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

#402737 color codes

HEX#402737
RGBrgb(64, 39, 55)
RGB percentrgb(25.1%, 15.3%, 21.6%)
HSLhsl(322, 24%, 20%)
HSV / HSBhsv(322, 39%, 25%)
CMYKcmyk(0%, 39%, 14%, 75%)
CIE LABlab(19.3, 14.67, -5.47)
CIE LCHlch(19.3, 15.66, 339.55)
CIE XYZxyz(3.529, 2.817, 3.972)
Decimal4204343
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #402737; }
.text { color: #402737; }
.border { border: 2px solid #402737; }
.transparent { background-color: rgb(64 39 55 / 50%); }
.gradient { background: linear-gradient(to right, #402737, #40272b); }
Background
Text color
Border

Similar colors

Questions

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