#3F2D58 color
The hex color #3F2D58 is a dark, desaturated violet.
In the RGB color model it is made of 24.7% red, 17.6% green and 34.5% blue (63, 45, 88).
Its hue angle is 265°, with 32% saturation and 26% lightness. For print, the CMYK equivalent is 28% cyan, 49% magenta, 0% yellow and 65% 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 12.16:1).
#3F2D58 color codes
| HEX | #3F2D58 | |
|---|---|---|
| RGB | rgb(63, 45, 88) | |
| RGB percent | rgb(24.7%, 17.6%, 34.5%) | |
| HSL | hsl(265, 32%, 26%) | |
| HSV / HSB | hsv(265, 49%, 35%) | |
| CMYK | cmyk(28%, 49%, 0%, 65%) | |
| CIE LAB | lab(22.44, 18.49, -23) | |
| CIE LCH | lch(22.44, 29.51, 308.79) | |
| CIE XYZ | xyz(4.749, 3.638, 9.683) | |
| Decimal | 4140376 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3F2D58, 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 #3F2D58 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.73:1 | Fail | Fail | Fail |
| Sample text | 12.16:1 | Pass | Pass | Pass |
| #3F2D58 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.16:1 | Pass | Pass | Pass |
| Sample text | 1.73: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 #3F2D58 looks to people with the most common types of color vision deficiency.
#21355aProtanopia
no red cones#253557Deuteranopia
no green cones#3a343eTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #3f2d58; }
.text { color: #3f2d58; }
.border { border: 2px solid #3f2d58; }
.transparent { background-color: rgb(63 45 88 / 50%); }
.gradient { background: linear-gradient(to right, #3f2d58, #542d58); }
Similar colors
#372d52Midnight Pie#372354Stormy Night#48295bAcai#322c56Purple Noir#3c2f4eSanctum of Shadows#4f325eRoyal Crown#4a3b6aMeteorite#4a2559Wonka Purple
Closest common color name: Dark Purple.
Questions
- What color is #3F2D58?
- #3F2D58 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 #3F2D58?
- The RGB value is 63, 45, 88: 63 red, 45 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #3F2D58?
- The complementary color is #46582D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3F2D58?
- White text. Black text has a contrast ratio of 1.73:1 and white text 12.16:1. WCAG asks for at least 4.5:1 for normal text.