#38175C color

#38175C rgb(56, 23, 92)
Shades of purple

The hex color #38175C is a dark, moderate violet.

In the RGB color model it is made of 22% red, 9% green and 36.1% blue (56, 23, 92).

Its hue angle is 269°, with 60% saturation and 23% lightness. For print, the CMYK equivalent is 39% cyan, 75% magenta, 0% yellow and 64% black.

The closest named color is Fabric of Space (#341758), a difference of 1 ΔE, which is barely visible.

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

#38175C color codes

HEX#38175C
RGBrgb(56, 23, 92)
RGB percentrgb(22%, 9%, 36.1%)
HSLhsl(269, 60%, 23%)
HSV / HSBhsv(269, 75%, 36%)
CMYKcmyk(39%, 75%, 0%, 64%)
CIE LABlab(16.63, 31.34, -35.01)
CIE LCHlch(16.63, 46.99, 311.83)
CIE XYZxyz(3.869, 2.226, 10.349)
Decimal3675996
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #38175C, 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 #38175CRatioAAAAAAA large
Sample text1.45:1FailFailFail
Sample text14.53:1PassPassPass
#38175C as text onRatioAAAAAAA large
Sample text14.53:1PassPassPass
Sample text1.45: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 #38175C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #38175c; }
.text { color: #38175c; }
.border { border: 2px solid #38175c; }
.transparent { background-color: rgb(56 23 92 / 50%); }
.gradient { background: linear-gradient(to right, #38175c, #5a175c); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #38175C?
#38175C is a dark, moderate violet, closest to the named color Fabric of Space. It belongs to the purple family of colors.
What is the RGB value of #38175C?
The RGB value is 56, 23, 92: 56 red, 23 green and 92 blue on a 0 to 255 scale.
What is the complementary color of #38175C?
The complementary color is #3B5C17, found by rotating the hue 180° on the color wheel.
Is black or white text better on #38175C?
White text. Black text has a contrast ratio of 1.45:1 and white text 14.53:1. WCAG asks for at least 4.5:1 for normal text.