#0D001F color
The hex color #0D001F is a very dark, vivid violet.
In the RGB color model it is made of 5.1% red, 0% green and 12.2% blue (13, 0, 31).
Its hue angle is 265°, with 100% saturation and 6% lightness. For print, the CMYK equivalent is 58% cyan, 100% magenta, 0% yellow and 88% black.
The closest named color is Mysterious Depths (#060929), a difference of 4.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.25:1).
#0D001F color codes
| HEX | #0D001F | |
|---|---|---|
| RGB | rgb(13, 0, 31) | |
| RGB percent | rgb(5.1%, 0%, 12.2%) | |
| HSL | hsl(265, 100%, 6%) | |
| HSV / HSB | hsv(265, 100%, 12%) | |
| CMYK | cmyk(58%, 100%, 0%, 88%) | |
| CIE LAB | lab(1.67, 9.74, -15.37) | |
| CIE LCH | lch(1.67, 18.2, 302.38) | |
| CIE XYZ | xyz(0.413, 0.184, 1.31) | |
| Decimal | 851999 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D001F, 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 #0D001F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.25:1 | Pass | Pass | Pass |
| #0D001F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.25:1 | Pass | Pass | Pass |
| Sample text | 1.04: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 #0D001F looks to people with the most common types of color vision deficiency.
#000620Protanopia
no red cones#00061eDeuteranopia
no green cones#09060dTritanopia
no blue cones#060606Achromatopsia
no color vision
CSS examples
.background { background-color: #0d001f; }
.text { color: #0d001f; }
.border { border: 2px solid #0d001f; }
.transparent { background-color: rgb(13 0 31 / 50%); }
.gradient { background: linear-gradient(to right, #0d001f, #1c001f); }
Similar colors
#060929Mysterious Depths#111122Corbeau#03012dMidnight#050d25Void#1c0f33Midnight Monarch#151931Dark Knight#1d0d1dShot in the Dark#00022eIllicit Darkness
Closest common color name: Dark Purple.
Questions
- What color is #0D001F?
- #0D001F is a very dark, vivid violet, closest to the named color Mysterious Depths. It belongs to the black family of colors.
- What is the RGB value of #0D001F?
- The RGB value is 13, 0, 31: 13 red, 0 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #0D001F?
- The complementary color is #121F00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D001F?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.25:1. WCAG asks for at least 4.5:1 for normal text.