#402743 color
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 | |
|---|---|---|
| RGB | rgb(64, 39, 67) | |
| RGB percent | rgb(25.1%, 15.3%, 26.3%) | |
| HSL | hsl(294, 26%, 21%) | |
| HSV / HSB | hsv(294, 42%, 26%) | |
| CMYK | cmyk(4%, 42%, 0%, 74%) | |
| CIE LAB | lab(19.83, 17.33, -12.93) | |
| CIE LCH | lch(19.83, 21.62, 323.26) | |
| CIE XYZ | xyz(3.853, 2.946, 5.675) | |
| Decimal | 4204355 | |
| Short hex | None (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 #402743 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.21:1 | Pass | Pass | Pass |
| #402743 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.21:1 | Pass | Pass | Pass |
| Sample text | 1.59:1 | Fail | Fail | Fail |
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.
#242e44Protanopia
no red cones#2a3142Deuteranopia
no green cones#412a32Tritanopia
no blue cones#303030Achromatopsia
no color vision
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); }
Similar colors
#442244Purple Void#4e334eShadow Purple#4f284bMurasaki#301934Dark Purple#3b193fCreatures of the Night#3c2f4eSanctum of Shadows#543254Purple Prose#391531Nightly Voyager
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.