#180D2F color
The hex color #180D2F is a very dark, moderate violet.
In the RGB color model it is made of 9.4% red, 5.1% green and 18.4% blue (24, 13, 47).
Its hue angle is 259°, with 57% saturation and 12% lightness. For print, the CMYK equivalent is 49% cyan, 72% magenta, 0% yellow and 82% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.46:1).
#180D2F color codes
| HEX | #180D2F | |
|---|---|---|
| RGB | rgb(24, 13, 47) | |
| RGB percent | rgb(9.4%, 5.1%, 18.4%) | |
| HSL | hsl(259, 57%, 12%) | |
| HSV / HSB | hsv(259, 72%, 18%) | |
| CMYK | cmyk(49%, 72%, 0%, 82%) | |
| CIE LAB | lab(6.21, 15.05, -20.51) | |
| CIE LCH | lch(6.21, 25.44, 306.27) | |
| CIE XYZ | xyz(1.034, 0.687, 2.767) | |
| Decimal | 1576239 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #180D2F, 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 #180D2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.46:1 | Pass | Pass | Pass |
| #180D2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.46:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #180D2F looks to people with the most common types of color vision deficiency.
#001430Protanopia
no red cones#01132eDeuteranopia
no green cones#12141cTritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #180d2f; }
.text { color: #180d2f; }
.border { border: 2px solid #180d2f; }
.transparent { background-color: rgb(24 13 47 / 50%); }
.gradient { background: linear-gradient(to right, #180d2f, #290d2f); }
Similar colors
#1c0f33Midnight Monarch#160435Quiet Abyss#071037Infinite Night#03012dMidnight#060929Mysterious Depths#211d49Azulado#111144Deadly Depths#00022eIllicit Darkness
Closest common color name: Dark Purple.
Questions
- What color is #180D2F?
- #180D2F is a very dark, moderate violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
- What is the RGB value of #180D2F?
- The RGB value is 24, 13, 47: 24 red, 13 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #180D2F?
- The complementary color is #242F0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #180D2F?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.46:1. WCAG asks for at least 4.5:1 for normal text.