#12062C color

#12062C rgb(18, 6, 44)
Shades of black

The hex color #12062C is a very dark, moderate violet.

In the RGB color model it is made of 7.1% red, 2.4% green and 17.3% blue (18, 6, 44).

Its hue angle is 259°, with 76% saturation and 10% lightness. For print, the CMYK equivalent is 59% cyan, 86% magenta, 0% yellow and 83% black.

The closest named color is Midnight Monarch (#1C0F33), a difference of 2.8 ΔE, a small difference.

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

#12062C color codes

HEX#12062C
RGBrgb(18, 6, 44)
RGB percentrgb(7.1%, 2.4%, 17.3%)
HSLhsl(259, 76%, 10%)
HSV / HSBhsv(259, 86%, 17%)
CMYKcmyk(59%, 86%, 0%, 83%)
CIE LABlab(3.98, 14.35, -21.84)
CIE LCHlch(3.98, 26.13, 303.31)
CIE XYZxyz(0.769, 0.441, 2.427)
Decimal1181228
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #12062C, 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 #12062CRatioAAAAAAA large
Sample text1.09:1FailFailFail
Sample text19.3:1PassPassPass
#12062C as text onRatioAAAAAAA large
Sample text19.3:1PassPassPass
Sample text1.09: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 #12062C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #12062c; }
.text { color: #12062c; }
.border { border: 2px solid #12062c; }
.transparent { background-color: rgb(18 6 44 / 50%); }
.gradient { background: linear-gradient(to right, #12062c, #25062c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #12062C?
#12062C is a very dark, moderate violet, closest to the named color Midnight Monarch. It belongs to the black family of colors.
What is the RGB value of #12062C?
The RGB value is 18, 6, 44: 18 red, 6 green and 44 blue on a 0 to 255 scale.
What is the complementary color of #12062C?
The complementary color is #202C06, found by rotating the hue 180° on the color wheel.
Is black or white text better on #12062C?
White text. Black text has a contrast ratio of 1.09:1 and white text 19.3:1. WCAG asks for at least 4.5:1 for normal text.