#2F1C5D color
The hex color #2F1C5D is a dark, moderate violet.
In the RGB color model it is made of 18.4% red, 11% green and 36.5% blue (47, 28, 93).
Its hue angle is 258°, with 54% saturation and 24% lightness. For print, the CMYK equivalent is 49% cyan, 70% magenta, 0% yellow and 64% black.
The closest named color is Dark Dreams (#332266), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.53:1).
#2F1C5D color codes
| HEX | #2F1C5D | |
|---|---|---|
| RGB | rgb(47, 28, 93) | |
| RGB percent | rgb(18.4%, 11%, 36.5%) | |
| HSL | hsl(258, 54%, 24%) | |
| HSV / HSB | hsv(258, 70%, 36%) | |
| CMYK | cmyk(49%, 70%, 0%, 64%) | |
| CIE LAB | lab(16.63, 26.7, -35.74) | |
| CIE LCH | lch(16.63, 44.61, 306.77) | |
| CIE XYZ | xyz(3.563, 2.225, 10.596) | |
| Decimal | 3087453 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F1C5D, 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 #2F1C5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.45:1 | Fail | Fail | Fail |
| Sample text | 14.53:1 | Pass | Pass | Pass |
| #2F1C5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.53:1 | Pass | Pass | Pass |
| Sample text | 1.45: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 #2F1C5D looks to people with the most common types of color vision deficiency.
#002a5fProtanopia
no red cones#00285cDeuteranopia
no green cones#212c39Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #2f1c5d; }
.text { color: #2f1c5d; }
.border { border: 2px solid #2f1c5d; }
.transparent { background-color: rgb(47 28 93 / 50%); }
.gradient { background: linear-gradient(to right, #2f1c5d, #4f1c5d); }
Similar colors
#332266Dark Dreams#341758Fabric of Space#2e2364Indie Go#2d135fVoldemort#37115cWicked Purple#2f1064Infinite Inkwell#222266Intergalactic Cowboy#231c4dSilent Orbit
Closest common color name: Midnight Blue.
Questions
- What color is #2F1C5D?
- #2F1C5D is a dark, moderate violet, closest to the named color Dark Dreams. It belongs to the purple family of colors.
- What is the RGB value of #2F1C5D?
- The RGB value is 47, 28, 93: 47 red, 28 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #2F1C5D?
- The complementary color is #4A5D1C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F1C5D?
- White text. Black text has a contrast ratio of 1.45:1 and white text 14.53:1. WCAG asks for at least 4.5:1 for normal text.