#402743 color

#402743 rgb(64, 39, 67)
Shades of purple

The hex color #402743 is a dark, desaturated magenta.

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

Its hue angle is 294°, with 26% saturation and 21% lightness. For print, the CMYK equivalent is 4% cyan, 42% magenta, 0% yellow and 74% black.

The closest named color is Purple Void (#442244), a difference of 2.8 ΔE, a small difference.

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

#402743 color codes

HEX#402743
RGBrgb(64, 39, 67)
RGB percentrgb(25.1%, 15.3%, 26.3%)
HSLhsl(294, 26%, 21%)
HSV / HSBhsv(294, 42%, 26%)
CMYKcmyk(4%, 42%, 0%, 74%)
CIE LABlab(19.83, 17.33, -12.93)
CIE LCHlch(19.83, 21.62, 323.26)
CIE XYZxyz(3.853, 2.946, 5.675)
Decimal4204355
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #402743?
#402743 is a dark, desaturated magenta, closest to the named color Purple Void. It belongs to the purple family of colors.
What is the RGB value of #402743?
The RGB value is 64, 39, 67: 64 red, 39 green and 67 blue on a 0 to 255 scale.
What is the complementary color of #402743?
The complementary color is #2A4327, found by rotating the hue 180° on the color wheel.
Is black or white text better on #402743?
White text. Black text has a contrast ratio of 1.59:1 and white text 13.21:1. WCAG asks for at least 4.5:1 for normal text.