#38115C color
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 | |
|---|---|---|
| RGB | rgb(56, 17, 92) | |
| RGB percent | rgb(22%, 6.7%, 36.1%) | |
| HSL | hsl(271, 69%, 21%) | |
| HSV / HSB | hsv(271, 82%, 36%) | |
| CMYK | cmyk(39%, 82%, 0%, 64%) | |
| CIE LAB | lab(15.56, 34.36, -36.75) | |
| CIE LCH | lch(15.56, 50.31, 313.08) | |
| CIE XYZ | xyz(3.763, 2.014, 10.314) | |
| Decimal | 3674460 | |
| Short hex | None (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 #38115C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.97:1 | Pass | Pass | Pass |
| #38115C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.97:1 | Pass | Pass | Pass |
| Sample text | 1.4:1 | Fail | Fail | Fail |
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.
#00265eProtanopia
no red cones#00275bDeuteranopia
no green cones#302436Tritanopia
no blue cones#272727Achromatopsia
no color vision
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); }
Similar colors
#37115cWicked Purple#341758Fabric of Space#2d135fVoldemort#2f1064Infinite Inkwell#340059Cotinga Purple#330055Hollow Knight#442266Fading Horizon#480656Clairvoyant
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.