#1F014D color
The hex color #1F014D is a very dark, vivid violet.
In the RGB color model it is made of 12.2% red, 0.4% green and 30.2% blue (31, 1, 77).
Its hue angle is 264°, with 97% saturation and 15% lightness. For print, the CMYK equivalent is 60% cyan, 99% magenta, 0% yellow and 70% black.
The closest named color is Your Darkness (#220044), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.95:1).
#1F014D color codes
| HEX | #1F014D | |
|---|---|---|
| RGB | rgb(31, 1, 77) | |
| RGB percent | rgb(12.2%, 0.4%, 30.2%) | |
| HSL | hsl(264, 97%, 15%) | |
| HSV / HSB | hsv(264, 99%, 30%) | |
| CMYK | cmyk(60%, 99%, 0%, 70%) | |
| CIE LAB | lab(7.67, 34.05, -39.63) | |
| CIE LCH | lch(7.67, 52.25, 310.67) | |
| CIE XYZ | xyz(1.915, 0.849, 7.083) | |
| Decimal | 2031949 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F014D, 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 #1F014D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.95:1 | Pass | Pass | Pass |
| #1F014D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.95:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #1F014D looks to people with the most common types of color vision deficiency.
#00184fProtanopia
no red cones#00154cDeuteranopia
no green cones#0d1a2aTritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #1f014d; }
.text { color: #1f014d; }
.border { border: 2px solid #1f014d; }
.transparent { background-color: rgb(31 1 77 / 50%); }
.gradient { background: linear-gradient(to right, #1f014d, #45014d); }
Similar colors
#220044Your Darkness#0f084bSilent Twilight#0a0555Ravenclaw#330055Hollow Knight#340059Cotinga Purple#220066Blackmail#150f5bSpace Colonisation#2d135fVoldemort
Closest common color name: Midnight Blue.
Questions
- What color is #1F014D?
- #1F014D is a very dark, vivid violet, closest to the named color Your Darkness. It belongs to the black family of colors.
- What is the RGB value of #1F014D?
- The RGB value is 31, 1, 77: 31 red, 1 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #1F014D?
- The complementary color is #2F4D01, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F014D?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.95:1. WCAG asks for at least 4.5:1 for normal text.