#42313F color

#42313F rgb(66, 49, 63)
Shades of gray

The hex color #42313F is a dark, grayish magenta.

In the RGB color model it is made of 25.9% red, 19.2% green and 24.7% blue (66, 49, 63).

Its hue angle is 311°, with 15% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 26% magenta, 5% yellow and 74% black.

The closest named color is Voodoo (#443240), a difference of 0.6 ΔE, which is barely visible.

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

#42313F color codes

HEX#42313F
RGBrgb(66, 49, 63)
RGB percentrgb(25.9%, 19.2%, 24.7%)
HSLhsl(311, 15%, 23%)
HSV / HSBhsv(311, 26%, 26%)
CMYKcmyk(0%, 26%, 5%, 74%)
CIE LABlab(22.7, 10.54, -5.81)
CIE LCHlch(22.7, 12.04, 331.13)
CIE XYZxyz(4.242, 3.714, 5.195)
Decimal4337983
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #42313F, 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 #42313FRatioAAAAAAA large
Sample text1.74:1FailFailFail
Sample text12.05:1PassPassPass
#42313F as text onRatioAAAAAAA large
Sample text12.05:1PassPassPass
Sample text1.74: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 #42313F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #42313f; }
.text { color: #42313f; }
.border { border: 2px solid #42313f; }
.transparent { background-color: rgb(66 49 63 / 50%); }
.gradient { background: linear-gradient(to right, #42313f, #423137); }
Background
Text color
Border

Similar colors

Closest common color name: Eggplant.

Questions

What color is #42313F?
#42313F is a dark, grayish magenta, closest to the named color Voodoo. It belongs to the gray family of colors.
What is the RGB value of #42313F?
The RGB value is 66, 49, 63: 66 red, 49 green and 63 blue on a 0 to 255 scale.
What is the complementary color of #42313F?
The complementary color is #314234, found by rotating the hue 180° on the color wheel.
Is black or white text better on #42313F?
White text. Black text has a contrast ratio of 1.74:1 and white text 12.05:1. WCAG asks for at least 4.5:1 for normal text.