#412F56 color
The hex color #412F56 is a dark, desaturated violet.
In the RGB color model it is made of 25.5% red, 18.4% green and 33.7% blue (65, 47, 86).
Its hue angle is 268°, with 29% saturation and 26% lightness. For print, the CMYK equivalent is 24% cyan, 45% magenta, 0% yellow and 66% black.
The closest named color is Midnight Pie (#372D52), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.89:1).
#412F56 color codes
| HEX | #412F56 | |
|---|---|---|
| RGB | rgb(65, 47, 86) | |
| RGB percent | rgb(25.5%, 18.4%, 33.7%) | |
| HSL | hsl(268, 29%, 26%) | |
| HSV / HSB | hsv(268, 45%, 34%) | |
| CMYK | cmyk(24%, 45%, 0%, 66%) | |
| CIE LAB | lab(23.1, 17.26, -20.62) | |
| CIE LCH | lch(23.1, 26.89, 309.93) | |
| CIE XYZ | xyz(4.876, 3.829, 9.284) | |
| Decimal | 4271958 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #412F56, 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 #412F56 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.77:1 | Fail | Fail | Fail |
| Sample text | 11.89:1 | Pass | Pass | Pass |
| #412F56 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.89:1 | Pass | Pass | Pass |
| Sample text | 1.77: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 #412F56 looks to people with the most common types of color vision deficiency.
#253757Protanopia
no red cones#2a3755Deuteranopia
no green cones#3e353eTritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #412f56; }
.text { color: #412f56; }
.border { border: 2px solid #412f56; }
.transparent { background-color: rgb(65 47 86 / 50%); }
.gradient { background: linear-gradient(to right, #412f56, #542f56); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#4f325eRoyal Crown#48295bAcai#322c56Purple Noir#372354Stormy Night#4a3b6aMeteorite#3f354fMaharaja
Closest common color name: Dark Purple.
Questions
- What color is #412F56?
- #412F56 is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the purple family of colors.
- What is the RGB value of #412F56?
- The RGB value is 65, 47, 86: 65 red, 47 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #412F56?
- The complementary color is #44562F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #412F56?
- White text. Black text has a contrast ratio of 1.77:1 and white text 11.89:1. WCAG asks for at least 4.5:1 for normal text.