#2F116C color
The hex color #2F116C is a dark, moderate violet.
In the RGB color model it is made of 18.4% red, 6.7% green and 42.4% blue (47, 17, 108).
Its hue angle is 260°, with 73% saturation and 25% lightness. For print, the CMYK equivalent is 56% cyan, 84% magenta, 0% yellow and 58% black.
The closest named color is Infinite Inkwell (#2F1064), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.81:1).
#2F116C color codes
| HEX | #2F116C | |
|---|---|---|
| RGB | rgb(47, 17, 108) | |
| RGB percent | rgb(18.4%, 6.7%, 42.4%) | |
| HSL | hsl(260, 73%, 25%) | |
| HSV / HSB | hsv(260, 84%, 42%) | |
| CMYK | cmyk(56%, 84%, 0%, 58%) | |
| CIE LAB | lab(15.94, 37.37, -46.76) | |
| CIE LCH | lch(15.94, 59.86, 308.63) | |
| CIE XYZ | xyz(4.079, 2.088, 14.373) | |
| Decimal | 3084652 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F116C, 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 #2F116C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.81:1 | Pass | Pass | Pass |
| #2F116C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.81:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #2F116C looks to people with the most common types of color vision deficiency.
#00296eProtanopia
no red cones#00256aDeuteranopia
no green cones#172c3fTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #2f116c; }
.text { color: #2f116c; }
.border { border: 2px solid #2f116c; }
.transparent { background-color: rgb(47 17 108 / 50%); }
.gradient { background: linear-gradient(to right, #2f116c, #5d116c); }
Similar colors
#2f1064Infinite Inkwell#2d135fVoldemort#330077Galactic Federation#220066Blackmail#3a1f76Explorer of the Galaxies#220077Child of the Night#37115cWicked Purple#332277Deep Space Rodeo
Closest common color name: Midnight Blue.
Questions
- What color is #2F116C?
- #2F116C is a dark, moderate violet, closest to the named color Infinite Inkwell. It belongs to the purple family of colors.
- What is the RGB value of #2F116C?
- The RGB value is 47, 17, 108: 47 red, 17 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #2F116C?
- The complementary color is #4E6C11, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F116C?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.81:1. WCAG asks for at least 4.5:1 for normal text.