#3F2F5B color
The hex color #3F2F5B is a dark, desaturated violet.
In the RGB color model it is made of 24.7% red, 18.4% green and 35.7% blue (63, 47, 91).
Its hue angle is 262°, with 32% saturation and 27% lightness. For print, the CMYK equivalent is 31% cyan, 48% magenta, 0% yellow and 64% 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.87:1).
#3F2F5B color codes
| HEX | #3F2F5B | |
|---|---|---|
| RGB | rgb(63, 47, 91) | |
| RGB percent | rgb(24.7%, 18.4%, 35.7%) | |
| HSL | hsl(262, 32%, 27%) | |
| HSV / HSB | hsv(262, 48%, 36%) | |
| CMYK | cmyk(31%, 48%, 0%, 64%) | |
| CIE LAB | lab(23.15, 18.01, -23.85) | |
| CIE LCH | lch(23.15, 29.89, 307.06) | |
| CIE XYZ | xyz(4.954, 3.845, 10.377) | |
| Decimal | 4140891 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3F2F5B, 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 #3F2F5B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.77:1 | Fail | Fail | Fail |
| Sample text | 11.87:1 | Pass | Pass | Pass |
| #3F2F5B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.87: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 #3F2F5B looks to people with the most common types of color vision deficiency.
#22375dProtanopia
no red cones#25375aDeuteranopia
no green cones#393740Tritanopia
no blue cones#373737Achromatopsia
no color vision
CSS examples
.background { background-color: #3f2f5b; }
.text { color: #3f2f5b; }
.border { border: 2px solid #3f2f5b; }
.transparent { background-color: rgb(63 47 91 / 50%); }
.gradient { background: linear-gradient(to right, #3f2f5b, #552f5b); }
Similar colors
#372d52Midnight Pie#322c56Purple Noir#372354Stormy Night#48295bAcai#4a3b6aMeteorite#3c2f4eSanctum of Shadows#4f325eRoyal Crown#2a2551Pāua
Closest common color name: Dark Purple.
Questions
- What color is #3F2F5B?
- #3F2F5B 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 #3F2F5B?
- The RGB value is 63, 47, 91: 63 red, 47 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #3F2F5B?
- The complementary color is #4B5B2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3F2F5B?
- White text. Black text has a contrast ratio of 1.77:1 and white text 11.87:1. WCAG asks for at least 4.5:1 for normal text.