#403345 color
The hex color #403345 is a dark, grayish magenta.
In the RGB color model it is made of 25.1% red, 20% green and 27.1% blue (64, 51, 69).
Its hue angle is 283°, with 15% saturation and 24% lightness. For print, the CMYK equivalent is 7% cyan, 26% magenta, 0% yellow and 73% black.
The closest named color is Royal Decree (#403547), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.81:1).
#403345 color codes
| HEX | #403345 | |
|---|---|---|
| RGB | rgb(64, 51, 69) | |
| RGB percent | rgb(25.1%, 20%, 27.1%) | |
| HSL | hsl(283, 15%, 24%) | |
| HSV / HSB | hsv(283, 26%, 27%) | |
| CMYK | cmyk(7%, 26%, 0%, 73%) | |
| CIE LAB | lab(23.3, 9.78, -8.98) | |
| CIE LCH | lch(23.3, 13.28, 317.42) | |
| CIE XYZ | xyz(4.372, 3.887, 6.149) | |
| Decimal | 4207429 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403345, 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 #403345 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.81:1 | Pass | Pass | Pass |
| #403345 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.81:1 | Pass | Pass | Pass |
| Sample text | 1.78: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 #403345 looks to people with the most common types of color vision deficiency.
#313746Protanopia
no red cones#343844Deuteranopia
no green cones#403539Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #403345; }
.text { color: #403345; }
.border { border: 2px solid #403345; }
.transparent { background-color: rgb(64 51 69 / 50%); }
.gradient { background: linear-gradient(to right, #403345, #453341); }
Similar colors
#403547Royal Decree#42364cCall It a Night#443240Voodoo#3f354fMaharaja#3c2f4eSanctum of Shadows#413d4bItalian Grape#393540Professor Plum#4e334eShadow Purple
Closest common color name: Dark Purple.
Questions
- What color is #403345?
- #403345 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 #403345?
- The RGB value is 64, 51, 69: 64 red, 51 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #403345?
- The complementary color is #384533, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403345?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.81:1. WCAG asks for at least 4.5:1 for normal text.