#140342 color

#140342 rgb(20, 3, 66)
Shades of black

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

In the RGB color model it is made of 7.8% red, 1.2% green and 25.9% blue (20, 3, 66).

Its hue angle is 256°, with 91% saturation and 14% lightness. For print, the CMYK equivalent is 70% cyan, 95% magenta, 0% yellow and 74% black.

The closest named color is Silent Twilight (#0F084B), a difference of 2.1 ΔE, a small difference.

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

#140342 color codes

HEX#140342
RGBrgb(20, 3, 66)
RGB percentrgb(7.8%, 1.2%, 25.9%)
HSLhsl(256, 91%, 14%)
HSV / HSBhsv(256, 95%, 26%)
CMYKcmyk(70%, 95%, 0%, 74%)
CIE LABlab(5.48, 27.1, -35.53)
CIE LCHlch(5.48, 44.68, 307.33)
CIE XYZxyz(1.304, 0.607, 5.202)
Decimal1311554
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #140342; }
.text { color: #140342; }
.border { border: 2px solid #140342; }
.transparent { background-color: rgb(20 3 66 / 50%); }
.gradient { background: linear-gradient(to right, #140342, #330342); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #140342?
#140342 is a very dark, vivid violet, closest to the named color Silent Twilight. It belongs to the black family of colors.
What is the RGB value of #140342?
The RGB value is 20, 3, 66: 20 red, 3 green and 66 blue on a 0 to 255 scale.
What is the complementary color of #140342?
The complementary color is #314203, found by rotating the hue 180° on the color wheel.
Is black or white text better on #140342?
White text. Black text has a contrast ratio of 1.12:1 and white text 18.73:1. WCAG asks for at least 4.5:1 for normal text.