#382D4F color

#382D4F rgb(56, 45, 79)
Shades of purple

The hex color #382D4F is a dark, desaturated violet.

In the RGB color model it is made of 22% red, 17.6% green and 31% blue (56, 45, 79).

Its hue angle is 259°, with 27% saturation and 24% lightness. For print, the CMYK equivalent is 29% cyan, 43% magenta, 0% yellow and 69% black.

The closest named color is Midnight Pie (#372D52), a difference of 1.1 ΔE, which is barely visible.

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

#382D4F color codes

HEX#382D4F
RGBrgb(56, 45, 79)
RGB percentrgb(22%, 17.6%, 31%)
HSLhsl(259, 27%, 24%)
HSV / HSBhsv(259, 43%, 31%)
CMYKcmyk(29%, 43%, 0%, 69%)
CIE LABlab(21.14, 13.55, -19.1)
CIE LCHlch(21.14, 23.41, 305.35)
CIE XYZxyz(3.98, 3.282, 7.819)
Decimal3681615
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #382D4F, 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 #382D4FRatioAAAAAAA large
Sample text1.66:1FailFailFail
Sample text12.68:1PassPassPass
#382D4F as text onRatioAAAAAAA large
Sample text12.68:1PassPassPass
Sample text1.66: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 #382D4F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #382d4f; }
.text { color: #382d4f; }
.border { border: 2px solid #382d4f; }
.transparent { background-color: rgb(56 45 79 / 50%); }
.gradient { background: linear-gradient(to right, #382d4f, #492d4f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #382D4F?
#382D4F is a dark, desaturated violet, closest to the named color Midnight Pie. It belongs to the purple family of colors.
What is the RGB value of #382D4F?
The RGB value is 56, 45, 79: 56 red, 45 green and 79 blue on a 0 to 255 scale.
What is the complementary color of #382D4F?
The complementary color is #444F2D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #382D4F?
White text. Black text has a contrast ratio of 1.66:1 and white text 12.68:1. WCAG asks for at least 4.5:1 for normal text.