#12002C color
The hex color #12002C is a very dark, vivid violet.
In the RGB color model it is made of 7.1% red, 0% green and 17.3% blue (18, 0, 44).
Its hue angle is 265°, with 100% saturation and 9% lightness. For print, the CMYK equivalent is 59% cyan, 100% magenta, 0% yellow and 83% black.
The closest named color is Quiet Abyss (#160435), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.77:1).
#12002C color codes
| HEX | #12002C | |
|---|---|---|
| RGB | rgb(18, 0, 44) | |
| RGB percent | rgb(7.1%, 0%, 17.3%) | |
| HSL | hsl(265, 100%, 9%) | |
| HSV / HSB | hsv(265, 100%, 17%) | |
| CMYK | cmyk(59%, 100%, 0%, 83%) | |
| CIE LAB | lab(2.8, 16.75, -23.7) | |
| CIE LCH | lch(2.8, 29.02, 305.26) | |
| CIE XYZ | xyz(0.704, 0.31, 2.405) | |
| Decimal | 1179692 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #12002C, 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 #12002C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.77:1 | Pass | Pass | Pass |
| #12002C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.77:1 | Pass | Pass | Pass |
| Sample text | 1.06: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 #12002C looks to people with the most common types of color vision deficiency.
#000b2dProtanopia
no red cones#000a2bDeuteranopia
no green cones#0a0b15Tritanopia
no blue cones#0a0a0aAchromatopsia
no color vision
CSS examples
.background { background-color: #12002c; }
.text { color: #12002c; }
.border { border: 2px solid #12002c; }
.transparent { background-color: rgb(18 0 44 / 50%); }
.gradient { background: linear-gradient(to right, #12002c, #28002c); }
Similar colors
#160435Quiet Abyss#1c0f33Midnight Monarch#03012dMidnight#00022eIllicit Darkness#071037Infinite Night#000435Oblivion#111144Deadly Depths#220033Coal Mine
Closest common color name: Dark Purple.
Questions
- What color is #12002C?
- #12002C is a very dark, vivid violet, closest to the named color Quiet Abyss. It belongs to the black family of colors.
- What is the RGB value of #12002C?
- The RGB value is 18, 0, 44: 18 red, 0 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #12002C?
- The complementary color is #1A2C00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #12002C?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.77:1. WCAG asks for at least 4.5:1 for normal text.