#3C2B51 color
The hex color #3C2B51 is a dark, desaturated violet.
In the RGB color model it is made of 23.5% red, 16.9% green and 31.8% blue (60, 43, 81).
Its hue angle is 267°, with 31% saturation and 24% lightness. For print, the CMYK equivalent is 26% cyan, 47% magenta, 0% yellow and 68% black.
The closest named color is Midnight Pie (#372D52), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.68:1).
#3C2B51 color codes
| HEX | #3C2B51 | |
|---|---|---|
| RGB | rgb(60, 43, 81) | |
| RGB percent | rgb(23.5%, 16.9%, 31.8%) | |
| HSL | hsl(267, 31%, 24%) | |
| HSV / HSB | hsv(267, 47%, 32%) | |
| CMYK | cmyk(26%, 47%, 0%, 68%) | |
| CIE LAB | lab(21.14, 16.85, -20.4) | |
| CIE LCH | lch(21.14, 26.46, 309.55) | |
| CIE XYZ | xyz(4.212, 3.283, 8.195) | |
| Decimal | 3943249 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #3C2B51, 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 #3C2B51 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.68:1 | Pass | Pass | Pass |
| #3C2B51 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.68:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #3C2B51 looks to people with the most common types of color vision deficiency.
#213252Protanopia
no red cones#253350Deuteranopia
no green cones#38313aTritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #3c2b51; }
.text { color: #3c2b51; }
.border { border: 2px solid #3c2b51; }
.transparent { background-color: rgb(60 43 81 / 50%); }
.gradient { background: linear-gradient(to right, #3c2b51, #4f2b51); }
Similar colors
#372d52Midnight Pie#3c2f4eSanctum of Shadows#372354Stormy Night#322c56Purple Noir#48295bAcai#2a2243Midnight Velvet#4f325eRoyal Crown#2a2551Pāua
Closest common color name: Dark Purple.
Questions
- What color is #3C2B51?
- #3C2B51 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 #3C2B51?
- The RGB value is 60, 43, 81: 60 red, 43 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #3C2B51?
- The complementary color is #40512B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3C2B51?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.68:1. WCAG asks for at least 4.5:1 for normal text.