#38115C color

#38115C rgb(56, 17, 92)
Shades of purple

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

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

Its hue angle is 271°, with 69% saturation and 21% lightness. For print, the CMYK equivalent is 39% cyan, 82% magenta, 0% yellow and 64% black.

The closest named color is Wicked Purple (#37115C), a difference of 0.2 ΔE, which is barely visible.

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

#38115C color codes

HEX#38115C
RGBrgb(56, 17, 92)
RGB percentrgb(22%, 6.7%, 36.1%)
HSLhsl(271, 69%, 21%)
HSV / HSBhsv(271, 82%, 36%)
CMYKcmyk(39%, 82%, 0%, 64%)
CIE LABlab(15.56, 34.36, -36.75)
CIE LCHlch(15.56, 50.31, 313.08)
CIE XYZxyz(3.763, 2.014, 10.314)
Decimal3674460
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Indigo.

Questions

What color is #38115C?
#38115C is a dark, moderate violet, closest to the named color Wicked Purple. It belongs to the purple family of colors.
What is the RGB value of #38115C?
The RGB value is 56, 17, 92: 56 red, 17 green and 92 blue on a 0 to 255 scale.
What is the complementary color of #38115C?
The complementary color is #355C11, found by rotating the hue 180° on the color wheel.
Is black or white text better on #38115C?
White text. Black text has a contrast ratio of 1.4:1 and white text 14.97:1. WCAG asks for at least 4.5:1 for normal text.