#38314A color

#38314A rgb(56, 49, 74)
Shades of purple

The hex color #38314A is a dark, grayish violet.

In the RGB color model it is made of 22% red, 19.2% green and 29% blue (56, 49, 74).

Its hue angle is 257°, with 20% saturation and 24% lightness. For print, the CMYK equivalent is 24% cyan, 34% magenta, 0% yellow and 71% black.

The closest named color is Maharaja (#3F354F), a difference of 1.9 ΔE, which is barely visible.

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

#38314A color codes

HEX#38314A
RGBrgb(56, 49, 74)
RGB percentrgb(22%, 19.2%, 29%)
HSLhsl(257, 20%, 24%)
HSV / HSBhsv(257, 34%, 29%)
CMYKcmyk(24%, 34%, 0%, 71%)
CIE LABlab(22.06, 9.36, -14.31)
CIE LCHlch(22.06, 17.1, 303.19)
CIE XYZxyz(3.965, 3.532, 6.95)
Decimal3682634
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #38314A, 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 #38314ARatioAAAAAAA large
Sample text1.71:1FailFailFail
Sample text12.31:1PassPassPass
#38314A as text onRatioAAAAAAA large
Sample text12.31:1PassPassPass
Sample text1.71: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 #38314A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #38314a; }
.text { color: #38314a; }
.border { border: 2px solid #38314a; }
.transparent { background-color: rgb(56 49 74 / 50%); }
.gradient { background: linear-gradient(to right, #38314a, #45314a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #38314A?
#38314A is a dark, grayish violet, closest to the named color Maharaja. It belongs to the purple family of colors.
What is the RGB value of #38314A?
The RGB value is 56, 49, 74: 56 red, 49 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #38314A?
The complementary color is #434A31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #38314A?
White text. Black text has a contrast ratio of 1.71:1 and white text 12.31:1. WCAG asks for at least 4.5:1 for normal text.