#1D0752 color
The hex color #1D0752 is a very dark, vivid violet.
In the RGB color model it is made of 11.4% red, 2.7% green and 32.2% blue (29, 7, 82).
Its hue angle is 258°, with 84% saturation and 17% lightness. For print, the CMYK equivalent is 65% cyan, 91% magenta, 0% yellow and 68% black.
The closest named color is Silent Twilight (#0F084B), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.44:1).
#1D0752 color codes
| HEX | #1D0752 | |
|---|---|---|
| RGB | rgb(29, 7, 82) | |
| RGB percent | rgb(11.4%, 2.7%, 32.2%) | |
| HSL | hsl(258, 84%, 17%) | |
| HSV / HSB | hsv(258, 91%, 32%) | |
| CMYK | cmyk(65%, 91%, 0%, 68%) | |
| CIE LAB | lab(9.18, 31.9, -40.6) | |
| CIE LCH | lch(9.18, 51.63, 308.16) | |
| CIE XYZ | xyz(2.105, 1.022, 8.067) | |
| Decimal | 1902418 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D0752, 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 #1D0752 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.44:1 | Pass | Pass | Pass |
| #1D0752 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.44:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #1D0752 looks to people with the most common types of color vision deficiency.
#001c54Protanopia
no red cones#001851Deuteranopia
no green cones#011f2eTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #1d0752; }
.text { color: #1d0752; }
.border { border: 2px solid #1d0752; }
.transparent { background-color: rgb(29 7 82 / 50%); }
.gradient { background: linear-gradient(to right, #1d0752, #420752); }
Similar colors
#0f084bSilent Twilight#0a0555Ravenclaw#150f5bSpace Colonisation#220044Your Darkness#2d135fVoldemort#2f1064Infinite Inkwell#220066Blackmail#110066The Vast of Night
Closest common color name: Midnight Blue.
Questions
- What color is #1D0752?
- #1D0752 is a very dark, vivid violet, closest to the named color Silent Twilight. It belongs to the black family of colors.
- What is the RGB value of #1D0752?
- The RGB value is 29, 7, 82: 29 red, 7 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #1D0752?
- The complementary color is #3C5207, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D0752?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.44:1. WCAG asks for at least 4.5:1 for normal text.