#38304A color

#38304A rgb(56, 48, 74)
Shades of purple

The hex color #38304A is a dark, grayish violet.

In the RGB color model it is made of 22% red, 18.8% green and 29% blue (56, 48, 74).

Its hue angle is 258°, with 21% saturation and 24% lightness. For print, the CMYK equivalent is 24% cyan, 35% magenta, 0% yellow and 71% black.

The closest named color is Maharaja (#3F354F), a difference of 1.9 ΔE, which is barely visible.

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

#38304A color codes

HEX#38304A
RGBrgb(56, 48, 74)
RGB percentrgb(22%, 18.8%, 29%)
HSLhsl(258, 21%, 24%)
HSV / HSBhsv(258, 35%, 29%)
CMYKcmyk(24%, 35%, 0%, 71%)
CIE LABlab(21.76, 10.05, -14.77)
CIE LCHlch(21.76, 17.87, 304.22)
CIE XYZxyz(3.924, 3.449, 6.936)
Decimal3682378
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #38304A, 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 #38304ARatioAAAAAAA large
Sample text1.69:1FailFailFail
Sample text12.43:1PassPassPass
#38304A as text onRatioAAAAAAA large
Sample text12.43:1PassPassPass
Sample text1.69: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 #38304A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #38304a; }
.text { color: #38304a; }
.border { border: 2px solid #38304a; }
.transparent { background-color: rgb(56 48 74 / 50%); }
.gradient { background: linear-gradient(to right, #38304a, #45304a); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #38304A?
#38304A is a dark, grayish violet, closest to the named color Maharaja. It belongs to the purple family of colors.
What is the RGB value of #38304A?
The RGB value is 56, 48, 74: 56 red, 48 green and 74 blue on a 0 to 255 scale.
What is the complementary color of #38304A?
The complementary color is #424A30, found by rotating the hue 180° on the color wheel.
Is black or white text better on #38304A?
White text. Black text has a contrast ratio of 1.69:1 and white text 12.43:1. WCAG asks for at least 4.5:1 for normal text.