#2F1952 color
The hex color #2F1952 is a dark, moderate violet.
In the RGB color model it is made of 18.4% red, 9.8% green and 32.2% blue (47, 25, 82).
Its hue angle is 263°, with 53% saturation and 21% lightness. For print, the CMYK equivalent is 43% cyan, 70% magenta, 0% yellow and 68% black.
The closest named color is Fabric of Space (#341758), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.2:1).
#2F1952 color codes
| HEX | #2F1952 | |
|---|---|---|
| RGB | rgb(47, 25, 82) | |
| RGB percent | rgb(18.4%, 9.8%, 32.2%) | |
| HSL | hsl(263, 53%, 21%) | |
| HSV / HSB | hsv(263, 70%, 32%) | |
| CMYK | cmyk(43%, 70%, 0%, 68%) | |
| CIE LAB | lab(15, 25.13, -30.97) | |
| CIE LCH | lch(15, 39.89, 309.06) | |
| CIE XYZ | xyz(3.043, 1.909, 8.189) | |
| Decimal | 3086674 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F1952, 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 #2F1952 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.2:1 | Pass | Pass | Pass |
| #2F1952 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.2:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #2F1952 looks to people with the most common types of color vision deficiency.
#002654Protanopia
no red cones#002551Deuteranopia
no green cones#272633Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #2f1952; }
.text { color: #2f1952; }
.border { border: 2px solid #2f1952; }
.transparent { background-color: rgb(47 25 82 / 50%); }
.gradient { background: linear-gradient(to right, #2f1952, #4b1952); }
Similar colors
#341758Fabric of Space#372354Stormy Night#231c4dSilent Orbit#37115cWicked Purple#2d135fVoldemort#332266Dark Dreams#2e2364Indie Go#211d49Azulado
Closest common color name: Midnight Blue.
Questions
- What color is #2F1952?
- #2F1952 is a dark, moderate violet, closest to the named color Fabric of Space. It belongs to the purple family of colors.
- What is the RGB value of #2F1952?
- The RGB value is 47, 25, 82: 47 red, 25 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #2F1952?
- The complementary color is #3C5219, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F1952?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.2:1. WCAG asks for at least 4.5:1 for normal text.