#17122C color

#17122C rgb(23, 18, 44)
Shades of black

The hex color #17122C is a very dark, desaturated violet.

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

Its hue angle is 252°, with 42% saturation and 12% lightness. For print, the CMYK equivalent is 48% cyan, 59% magenta, 0% yellow and 83% black.

The closest named color is Dark Knight (#151931), a difference of 4.2 ΔE, a small difference.

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

#17122C color codes

HEX#17122C
RGBrgb(23, 18, 44)
RGB percentrgb(9%, 7.1%, 17.3%)
HSLhsl(252, 42%, 12%)
HSV / HSBhsv(252, 59%, 17%)
CMYKcmyk(48%, 59%, 0%, 83%)
CIE LABlab(7.2, 10.46, -16.72)
CIE LCHlch(7.2, 19.72, 302.02)
CIE XYZxyz(1.024, 0.797, 2.482)
Decimal1511980
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #17122C?
#17122C is a very dark, desaturated violet, closest to the named color Dark Knight. It belongs to the black family of colors.
What is the RGB value of #17122C?
The RGB value is 23, 18, 44: 23 red, 18 green and 44 blue on a 0 to 255 scale.
What is the complementary color of #17122C?
The complementary color is #272C12, found by rotating the hue 180° on the color wheel.
Is black or white text better on #17122C?
White text. Black text has a contrast ratio of 1.16:1 and white text 18.11:1. WCAG asks for at least 4.5:1 for normal text.