#180722 color
The hex color #180722 is a very dark, moderate violet.
In the RGB color model it is made of 9.4% red, 2.7% green and 13.3% blue (24, 7, 34).
Its hue angle is 278°, with 66% saturation and 8% lightness. For print, the CMYK equivalent is 29% cyan, 79% magenta, 0% yellow and 87% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.22:1).
#180722 color codes
| HEX | #180722 | |
|---|---|---|
| RGB | rgb(24, 7, 34) | |
| RGB percent | rgb(9.4%, 2.7%, 13.3%) | |
| HSL | hsl(278, 66%, 8%) | |
| HSV / HSB | hsv(278, 79%, 13%) | |
| CMYK | cmyk(29%, 79%, 0%, 87%) | |
| CIE LAB | lab(4.17, 12.39, -13.83) | |
| CIE LCH | lch(4.17, 18.57, 311.86) | |
| CIE XYZ | xyz(0.741, 0.462, 1.563) | |
| Decimal | 1574690 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #180722, 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 #180722 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.22:1 | Pass | Pass | Pass |
| #180722 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.22:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #180722 looks to people with the most common types of color vision deficiency.
#010e23Protanopia
no red cones#050f21Deuteranopia
no green cones#170c13Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #180722; }
.text { color: #180722; }
.border { border: 2px solid #180722; }
.transparent { background-color: rgb(24 7 34 / 50%); }
.gradient { background: linear-gradient(to right, #180722, #22071e); }
Similar colors
#1d0d1dShot in the Dark#1c0f33Midnight Monarch#220022Black Sabbath#2b0f2eDark Prom Queen#301934Dark Purple#110011Glossy Black#180614Crow#060929Mysterious Depths
Questions
- What color is #180722?
- #180722 is a very dark, moderate violet, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #180722?
- The RGB value is 24, 7, 34: 24 red, 7 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #180722?
- The complementary color is #112207, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #180722?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.22:1. WCAG asks for at least 4.5:1 for normal text.