#2F064D color
The hex color #2F064D is a very dark, vivid violet.
In the RGB color model it is made of 18.4% red, 2.4% green and 30.2% blue (47, 6, 77).
Its hue angle is 275°, with 86% saturation and 16% lightness. For print, the CMYK equivalent is 39% cyan, 92% magenta, 0% yellow and 70% black.
The closest named color is Hollow Knight (#330055), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.75:1).
#2F064D color codes
| HEX | #2F064D | |
|---|---|---|
| RGB | rgb(47, 6, 77) | |
| RGB percent | rgb(18.4%, 2.4%, 30.2%) | |
| HSL | hsl(275, 86%, 16%) | |
| HSV / HSB | hsv(275, 92%, 30%) | |
| CMYK | cmyk(39%, 92%, 0%, 70%) | |
| CIE LAB | lab(11.07, 33.53, -33.94) | |
| CIE LCH | lch(11.07, 47.71, 314.65) | |
| CIE XYZ | xyz(2.577, 1.27, 7.129) | |
| Decimal | 3081805 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F064D, 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 #2F064D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.75:1 | Pass | Pass | Pass |
| #2F064D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.75:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #2F064D looks to people with the most common types of color vision deficiency.
#001d4fProtanopia
no red cones#001e4cDeuteranopia
no green cones#291a2bTritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #2f064d; }
.text { color: #2f064d; }
.border { border: 2px solid #2f064d; }
.transparent { background-color: rgb(47 6 77 / 50%); }
.gradient { background: linear-gradient(to right, #2f064d, #4d0647); }
Similar colors
#330055Hollow Knight#340059Cotinga Purple#220044Your Darkness#37115cWicked Purple#341758Fabric of Space#3b0346Romanic Scene#2d135fVoldemort#2f1064Infinite Inkwell
Closest common color name: Midnight Blue.
Questions
- What color is #2F064D?
- #2F064D is a very dark, vivid violet, closest to the named color Hollow Knight. It belongs to the black family of colors.
- What is the RGB value of #2F064D?
- The RGB value is 47, 6, 77: 47 red, 6 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #2F064D?
- The complementary color is #244D06, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F064D?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.75:1. WCAG asks for at least 4.5:1 for normal text.