#403043 color
The hex color #403043 is a dark, grayish magenta.
In the RGB color model it is made of 25.1% red, 18.8% green and 26.3% blue (64, 48, 67).
Its hue angle is 291°, with 17% saturation and 23% lightness. For print, the CMYK equivalent is 4% cyan, 28% magenta, 0% yellow and 74% black.
The closest named color is Royal Decree (#403547), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.2:1).
#403043 color codes
| HEX | #403043 | |
|---|---|---|
| RGB | rgb(64, 48, 67) | |
| RGB percent | rgb(25.1%, 18.8%, 26.3%) | |
| HSL | hsl(291, 17%, 23%) | |
| HSV / HSB | hsv(291, 28%, 26%) | |
| CMYK | cmyk(4%, 28%, 0%, 74%) | |
| CIE LAB | lab(22.34, 11.31, -9.09) | |
| CIE LCH | lch(22.34, 14.51, 321.2) | |
| CIE XYZ | xyz(4.184, 3.609, 5.785) | |
| Decimal | 4206659 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403043, 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 #403043 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.2:1 | Pass | Pass | Pass |
| #403043 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.2:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #403043 looks to people with the most common types of color vision deficiency.
#2e3444Protanopia
no red cones#323642Deuteranopia
no green cones#413237Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #403043; }
.text { color: #403043; }
.border { border: 2px solid #403043; }
.transparent { background-color: rgb(64 48 67 / 50%); }
.gradient { background: linear-gradient(to right, #403043, #43303c); }
Similar colors
#403547Royal Decree#443240Voodoo#42364cCall It a Night#3f354fMaharaja#4e334eShadow Purple#3c2f4eSanctum of Shadows#342931Melanzane#393540Professor Plum
Closest common color name: Dark Purple.
Questions
- What color is #403043?
- #403043 is a dark, grayish magenta, closest to the named color Royal Decree. It belongs to the purple family of colors.
- What is the RGB value of #403043?
- The RGB value is 64, 48, 67: 64 red, 48 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #403043?
- The complementary color is #334330, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403043?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.2:1. WCAG asks for at least 4.5:1 for normal text.