#1D1235 color
The hex color #1D1235 is a very dark, desaturated violet.
In the RGB color model it is made of 11.4% red, 7.1% green and 20.8% blue (29, 18, 53).
Its hue angle is 259°, with 49% saturation and 14% lightness. For print, the CMYK equivalent is 45% cyan, 66% magenta, 0% yellow and 79% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.64:1).
#1D1235 color codes
| HEX | #1D1235 | |
|---|---|---|
| RGB | rgb(29, 18, 53) | |
| RGB percent | rgb(11.4%, 7.1%, 20.8%) | |
| HSL | hsl(259, 49%, 14%) | |
| HSV / HSB | hsv(259, 66%, 21%) | |
| CMYK | cmyk(45%, 66%, 0%, 79%) | |
| CIE LAB | lab(8.57, 15.62, -21.09) | |
| CIE LCH | lch(8.57, 26.25, 306.52) | |
| CIE XYZ | xyz(1.365, 0.951, 3.479) | |
| Decimal | 1905205 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D1235, 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 #1D1235 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.64:1 | Pass | Pass | Pass |
| #1D1235 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.64:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #1D1235 looks to people with the most common types of color vision deficiency.
#031936Protanopia
no red cones#051834Deuteranopia
no green cones#171921Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #1d1235; }
.text { color: #1d1235; }
.border { border: 2px solid #1d1235; }
.transparent { background-color: rgb(29 18 53 / 50%); }
.gradient { background: linear-gradient(to right, #1d1235, #2f1235); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#211d49Azulado#2a2243Midnight Velvet#071037Infinite Night#231c4dSilent Orbit#111144Deadly Depths#222244Black Market
Closest common color name: Dark Purple.
Questions
- What color is #1D1235?
- #1D1235 is a very dark, desaturated violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #1D1235?
- The RGB value is 29, 18, 53: 29 red, 18 green and 53 blue on a 0 to 255 scale.
- What is the complementary color of #1D1235?
- The complementary color is #2A3512, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D1235?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.64:1. WCAG asks for at least 4.5:1 for normal text.