#04010A color
The hex color #04010A is a black.
In the RGB color model it is made of 1.6% red, 0.4% green and 3.9% blue (4, 1, 10).
Its hue angle is 260°, with 82% saturation and 2% lightness. For print, the CMYK equivalent is 60% cyan, 90% magenta, 0% yellow and 96% black.
The closest named color is Narwhal Gray (#080813), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.71:1).
#04010A color codes
| HEX | #04010A | |
|---|---|---|
| RGB | rgb(4, 1, 10) | |
| RGB percent | rgb(1.6%, 0.4%, 3.9%) | |
| HSL | hsl(260, 82%, 2%) | |
| HSV / HSB | hsv(260, 90%, 4%) | |
| CMYK | cmyk(60%, 90%, 0%, 96%) | |
| CIE LAB | lab(0.63, 2.04, -3.13) | |
| CIE LCH | lch(0.63, 3.73, 303.05) | |
| CIE XYZ | xyz(0.116, 0.069, 0.294) | |
| Decimal | 262410 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #04010A, 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 #04010A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.01:1 | Fail | Fail | Fail |
| Sample text | 20.71:1 | Pass | Pass | Pass |
| #04010A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.71:1 | Pass | Pass | Pass |
| Sample text | 1.01: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 #04010A looks to people with the most common types of color vision deficiency.
#00020aProtanopia
no red cones#00020aDeuteranopia
no green cones#030204Tritanopia
no blue cones#020202Achromatopsia
no color vision
CSS examples
.background { background-color: #04010a; }
.text { color: #04010a; }
.border { border: 2px solid #04010a; }
.transparent { background-color: rgb(4 1 10 / 50%); }
.gradient { background: linear-gradient(to right, #04010a, #08010a); }
Similar colors
#080813Narwhal Gray#0b0c14Midnight Oil#030205Raven’s Coat#03050aEight Ball#0b0c10Midnight Black#060313Obsidian Shard#060b14Dark Rift#0f0707Knight Rider
Questions
- What color is #04010A?
- #04010A is a black, closest to the named color Narwhal Gray. It belongs to the black family of colors.
- What is the RGB value of #04010A?
- The RGB value is 4, 1, 10: 4 red, 1 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #04010A?
- The complementary color is #070A01, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #04010A?
- White text. Black text has a contrast ratio of 1.01:1 and white text 20.71:1. WCAG asks for at least 4.5:1 for normal text.