#38315F color

#38315F rgb(56, 49, 95)
Shades of blue

The hex color #38315F is a dark, desaturated blue.

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

Its hue angle is 249°, with 32% saturation and 28% lightness. For print, the CMYK equivalent is 41% cyan, 48% magenta, 0% yellow and 63% black.

The closest named color is Purple Noir (#322C56), a difference of 2 ΔE, a small difference.

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

#38315F color codes

HEX#38315F
RGBrgb(56, 49, 95)
RGB percentrgb(22%, 19.2%, 37.3%)
HSLhsl(249, 32%, 28%)
HSV / HSBhsv(249, 48%, 37%)
CMYKcmyk(41%, 48%, 0%, 63%)
CIE LABlab(23.21, 15.71, -26.42)
CIE LCHlch(23.21, 30.74, 300.74)
CIE XYZxyz(4.794, 3.863, 11.317)
Decimal3682655
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #38315f; }
.text { color: #38315f; }
.border { border: 2px solid #38315f; }
.transparent { background-color: rgb(56 49 95 / 50%); }
.gradient { background: linear-gradient(to right, #38315f, #4f315f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #38315F?
#38315F is a dark, desaturated blue, closest to the named color Purple Noir. It belongs to the blue family of colors.
What is the RGB value of #38315F?
The RGB value is 56, 49, 95: 56 red, 49 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #38315F?
The complementary color is #585F31, found by rotating the hue 180° on the color wheel.
Is black or white text better on #38315F?
White text. Black text has a contrast ratio of 1.77:1 and white text 11.85:1. WCAG asks for at least 4.5:1 for normal text.