#2D0F54 color
The hex color #2D0F54 is a very dark, moderate violet.
In the RGB color model it is made of 17.6% red, 5.9% green and 32.9% blue (45, 15, 84).
Its hue angle is 266°, with 70% saturation and 19% lightness. For print, the CMYK equivalent is 46% cyan, 82% magenta, 0% yellow and 67% black.
The closest named color is Fabric of Space (#341758), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.06:1).
#2D0F54 color codes
| HEX | #2D0F54 | |
|---|---|---|
| RGB | rgb(45, 15, 84) | |
| RGB percent | rgb(17.6%, 5.9%, 32.9%) | |
| HSL | hsl(266, 70%, 19%) | |
| HSV / HSB | hsv(266, 82%, 33%) | |
| CMYK | cmyk(46%, 82%, 0%, 67%) | |
| CIE LAB | lab(12.86, 31, -35.83) | |
| CIE LCH | lch(12.86, 47.38, 310.87) | |
| CIE XYZ | xyz(2.853, 1.54, 8.533) | |
| Decimal | 2953044 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D0F54, 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 #2D0F54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.06:1 | Pass | Pass | Pass |
| #2D0F54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.06:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #2D0F54 looks to people with the most common types of color vision deficiency.
#002156Protanopia
no red cones#002053Deuteranopia
no green cones#232131Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #2d0f54; }
.text { color: #2d0f54; }
.border { border: 2px solid #2d0f54; }
.transparent { background-color: rgb(45 15 84 / 50%); }
.gradient { background: linear-gradient(to right, #2d0f54, #500f54); }
Similar colors
#341758Fabric of Space#37115cWicked Purple#2d135fVoldemort#2f1064Infinite Inkwell#330055Hollow Knight#340059Cotinga Purple#220044Your Darkness#150f5bSpace Colonisation
Closest common color name: Midnight Blue.
Questions
- What color is #2D0F54?
- #2D0F54 is a very 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 #2D0F54?
- The RGB value is 45, 15, 84: 45 red, 15 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #2D0F54?
- The complementary color is #36540F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D0F54?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.06:1. WCAG asks for at least 4.5:1 for normal text.