#2F1530 color
The hex color #2F1530 is a very dark, desaturated magenta.
In the RGB color model it is made of 18.4% red, 8.2% green and 18.8% blue (47, 21, 48).
Its hue angle is 298°, with 39% saturation and 14% lightness. For print, the CMYK equivalent is 2% cyan, 56% magenta, 0% yellow and 81% black.
The closest named color is Dark Purple (#301934), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.52:1).
#2F1530 color codes
| HEX | #2F1530 | |
|---|---|---|
| RGB | rgb(47, 21, 48) | |
| RGB percent | rgb(18.4%, 8.2%, 18.8%) | |
| HSL | hsl(298, 39%, 14%) | |
| HSV / HSB | hsv(298, 56%, 19%) | |
| CMYK | cmyk(2%, 56%, 0%, 81%) | |
| CIE LAB | lab(11.65, 18.26, -12.42) | |
| CIE LCH | lch(11.65, 22.08, 325.78) | |
| CIE XYZ | xyz(1.974, 1.354, 2.953) | |
| Decimal | 3085616 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F1530, 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 #2F1530 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.27:1 | Fail | Fail | Fail |
| Sample text | 16.52:1 | Pass | Pass | Pass |
| #2F1530 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.52:1 | Pass | Pass | Pass |
| Sample text | 1.27: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 #2F1530 looks to people with the most common types of color vision deficiency.
#121d31Protanopia
no red cones#1a202fDeuteranopia
no green cones#301820Tritanopia
no blue cones#1f1f1fAchromatopsia
no color vision
CSS examples
.background { background-color: #2f1530; }
.text { color: #2f1530; }
.border { border: 2px solid #2f1530; }
.transparent { background-color: rgb(47 21 48 / 50%); }
.gradient { background: linear-gradient(to right, #2f1530, #301523); }
Similar colors
#301934Dark Purple#2b0f2eDark Prom Queen#391531Nightly Voyager#3b193fCreatures of the Night#220022Black Sabbath#442244Purple Void#43182fBlackberry#1c0f33Midnight Monarch
Questions
- What color is #2F1530?
- #2F1530 is a very dark, desaturated magenta, closest to the named color Dark Purple. It belongs to the black family of colors.
- What is the RGB value of #2F1530?
- The RGB value is 47, 21, 48: 47 red, 21 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #2F1530?
- The complementary color is #163015, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F1530?
- White text. Black text has a contrast ratio of 1.27:1 and white text 16.52:1. WCAG asks for at least 4.5:1 for normal text.