#381238 color

#381238 rgb(56, 18, 56)
Shades of purple

The hex color #381238 is a very dark, moderate magenta.

In the RGB color model it is made of 22% red, 7.1% green and 22% blue (56, 18, 56).

Its hue angle is 300°, with 51% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 68% magenta, 0% yellow and 78% black.

The closest named color is Creatures of the Night (#3B193F), a difference of 2 ΔE, which is barely visible.

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

#381238 color codes

HEX#381238
RGBrgb(56, 18, 56)
RGB percentrgb(22%, 7.1%, 22%)
HSLhsl(300, 51%, 15%)
HSV / HSBhsv(300, 68%, 22%)
CMYKcmyk(0%, 68%, 0%, 78%)
CIE LABlab(12.98, 24.99, -16)
CIE LCHlch(12.98, 29.67, 327.37)
CIE XYZxyz(2.561, 1.559, 3.907)
Decimal3674680
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #381238; }
.text { color: #381238; }
.border { border: 2px solid #381238; }
.transparent { background-color: rgb(56 18 56 / 50%); }
.gradient { background: linear-gradient(to right, #381238, #381225); }
Background
Text color
Border

Similar colors

Questions

What color is #381238?
#381238 is a very dark, moderate magenta, closest to the named color Creatures of the Night. It belongs to the purple family of colors.
What is the RGB value of #381238?
The RGB value is 56, 18, 56: 56 red, 18 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #381238?
The complementary color is #123812, found by rotating the hue 180° on the color wheel.
Is black or white text better on #381238?
White text. Black text has a contrast ratio of 1.31:1 and white text 16.01:1. WCAG asks for at least 4.5:1 for normal text.