#1F0522 color
The hex color #1F0522 is a very dark, moderate magenta.
In the RGB color model it is made of 12.2% red, 2% green and 13.3% blue (31, 5, 34).
Its hue angle is 294°, with 74% saturation and 8% lightness. For print, the CMYK equivalent is 9% cyan, 85% magenta, 0% yellow and 87% black.
The closest named color is Black Sabbath (#220022), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.04:1).
#1F0522 color codes
| HEX | #1F0522 | |
|---|---|---|
| RGB | rgb(31, 5, 34) | |
| RGB percent | rgb(12.2%, 2%, 13.3%) | |
| HSL | hsl(294, 74%, 8%) | |
| HSV / HSB | hsv(294, 85%, 13%) | |
| CMYK | cmyk(9%, 85%, 0%, 87%) | |
| CIE LAB | lab(4.66, 17.06, -13.01) | |
| CIE LCH | lch(4.66, 21.46, 322.67) | |
| CIE XYZ | xyz(0.908, 0.515, 1.565) | |
| Decimal | 2032930 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F0522, 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 #1F0522 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.04:1 | Pass | Pass | Pass |
| #1F0522 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.04:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #1F0522 looks to people with the most common types of color vision deficiency.
#010e23Protanopia
no red cones#091121Deuteranopia
no green cones#200912Tritanopia
no blue cones#101010Achromatopsia
no color vision
CSS examples
.background { background-color: #1f0522; }
.text { color: #1f0522; }
.border { border: 2px solid #1f0522; }
.transparent { background-color: rgb(31 5 34 / 50%); }
.gradient { background: linear-gradient(to right, #1f0522, #220517); }
Similar colors
#220022Black Sabbath#2b0f2eDark Prom Queen#1d0d1dShot in the Dark#301934Dark Purple#1c0f33Midnight Monarch#391531Nightly Voyager#220033Coal Mine#220011Belladonna
Questions
- What color is #1F0522?
- #1F0522 is a very dark, moderate magenta, closest to the named color Black Sabbath. It belongs to the black family of colors.
- What is the RGB value of #1F0522?
- The RGB value is 31, 5, 34: 31 red, 5 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #1F0522?
- The complementary color is #082205, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F0522?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.04:1. WCAG asks for at least 4.5:1 for normal text.