#2D1955 color
The hex color #2D1955 is a dark, moderate violet.
In the RGB color model it is made of 17.6% red, 9.8% green and 33.3% blue (45, 25, 85).
Its hue angle is 260°, with 55% saturation and 22% lightness. For print, the CMYK equivalent is 47% cyan, 71% magenta, 0% yellow and 67% 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).
#2D1955 color codes
| HEX | #2D1955 | |
|---|---|---|
| RGB | rgb(45, 25, 85) | |
| RGB percent | rgb(17.6%, 9.8%, 33.3%) | |
| HSL | hsl(260, 55%, 22%) | |
| HSV / HSB | hsv(260, 71%, 33%) | |
| CMYK | cmyk(47%, 71%, 0%, 67%) | |
| CIE LAB | lab(15, 25.59, -33.02) | |
| CIE LCH | lch(15, 41.77, 307.78) | |
| CIE XYZ | xyz(3.069, 1.909, 8.799) | |
| Decimal | 2955605 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D1955, 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 #2D1955 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.2:1 | Pass | Pass | Pass |
| #2D1955 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 #2D1955 looks to people with the most common types of color vision deficiency.
#002657Protanopia
no red cones#002554Deuteranopia
no green cones#222734Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #2d1955; }
.text { color: #2d1955; }
.border { border: 2px solid #2d1955; }
.transparent { background-color: rgb(45 25 85 / 50%); }
.gradient { background: linear-gradient(to right, #2d1955, #4b1955); }
Similar colors
#341758Fabric of Space#2d135fVoldemort#231c4dSilent Orbit#332266Dark Dreams#37115cWicked Purple#2e2364Indie Go#372354Stormy Night#2f1064Infinite Inkwell
Closest common color name: Midnight Blue.
Questions
- What color is #2D1955?
- #2D1955 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 #2D1955?
- The RGB value is 45, 25, 85: 45 red, 25 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #2D1955?
- The complementary color is #415519, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D1955?
- 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.