#1F132C color
The hex color #1F132C is a very dark, desaturated violet.
In the RGB color model it is made of 12.2% red, 7.5% green and 17.3% blue (31, 19, 44).
Its hue angle is 269°, with 40% saturation and 12% lightness. For print, the CMYK equivalent is 30% cyan, 57% magenta, 0% yellow and 83% black.
The closest named color is Midnight Monarch (#1C0F33), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.68:1).
#1F132C color codes
| HEX | #1F132C | |
|---|---|---|
| RGB | rgb(31, 19, 44) | |
| RGB percent | rgb(12.2%, 7.5%, 17.3%) | |
| HSL | hsl(269, 40%, 12%) | |
| HSV / HSB | hsv(269, 57%, 17%) | |
| CMYK | cmyk(30%, 57%, 0%, 83%) | |
| CIE LAB | lab(8.47, 12.62, -14.63) | |
| CIE LCH | lch(8.47, 19.32, 310.77) | |
| CIE XYZ | xyz(1.252, 0.939, 2.498) | |
| Decimal | 2036524 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F132C, 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 #1F132C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.68:1 | Pass | Pass | Pass |
| #1F132C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.68: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 #1F132C looks to people with the most common types of color vision deficiency.
#0c182dProtanopia
no red cones#0f182bDeuteranopia
no green cones#1d171dTritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #1f132c; }
.text { color: #1f132c; }
.border { border: 2px solid #1f132c; }
.transparent { background-color: rgb(31 19 44 / 50%); }
.gradient { background: linear-gradient(to right, #1f132c, #2b132c); }
Similar colors
#1c0f33Midnight Monarch#301934Dark Purple#1d0d1dShot in the Dark#2b0f2eDark Prom Queen#2a2243Midnight Velvet#220022Black Sabbath#151931Dark Knight#222244Black Market
Questions
- What color is #1F132C?
- #1F132C 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 #1F132C?
- The RGB value is 31, 19, 44: 31 red, 19 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #1F132C?
- The complementary color is #202C13, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F132C?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.68:1. WCAG asks for at least 4.5:1 for normal text.