#12012F color

#12012F rgb(18, 1, 47)
Shades of black

The hex color #12012F is a very dark, vivid violet.

In the RGB color model it is made of 7.1% red, 0.4% green and 18.4% blue (18, 1, 47).

Its hue angle is 262°, with 96% saturation and 9% lightness. For print, the CMYK equivalent is 62% cyan, 98% magenta, 0% yellow and 82% black.

The closest named color is Quiet Abyss (#160435), a difference of 1.9 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 19.61:1).

#12012F color codes

HEX#12012F
RGBrgb(18, 1, 47)
RGB percentrgb(7.1%, 0.4%, 18.4%)
HSLhsl(262, 96%, 9%)
HSV / HSBhsv(262, 98%, 18%)
CMYKcmyk(62%, 98%, 0%, 82%)
CIE LABlab(3.21, 17.83, -25.32)
CIE LCHlch(3.21, 30.97, 305.16)
CIE XYZxyz(0.773, 0.356, 2.717)
Decimal1179951
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #12012F, 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 #12012FRatioAAAAAAA large
Sample text1.07:1FailFailFail
Sample text19.61:1PassPassPass
#12012F as text onRatioAAAAAAA large
Sample text19.61:1PassPassPass
Sample text1.07:1FailFailFail

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 #12012F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #12012f; }
.text { color: #12012f; }
.border { border: 2px solid #12012f; }
.transparent { background-color: rgb(18 1 47 / 50%); }
.gradient { background: linear-gradient(to right, #12012f, #29012f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #12012F?
#12012F 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 #12012F?
The RGB value is 18, 1, 47: 18 red, 1 green and 47 blue on a 0 to 255 scale.
What is the complementary color of #12012F?
The complementary color is #1E2F01, found by rotating the hue 180° on the color wheel.
Is black or white text better on #12012F?
White text. Black text has a contrast ratio of 1.07:1 and white text 19.61:1. WCAG asks for at least 4.5:1 for normal text.