#3A2F70 color

#3A2F70 rgb(58, 47, 112)
Shades of blue

The hex color #3A2F70 is a dark, desaturated violet.

In the RGB color model it is made of 22.7% red, 18.4% green and 43.9% blue (58, 47, 112).

Its hue angle is 250°, with 41% saturation and 31% lightness. For print, the CMYK equivalent is 48% cyan, 58% magenta, 0% yellow and 56% black.

The closest named color is Her Highness (#432E6F), a difference of 2.3 ΔE, a small difference.

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

#3A2F70 color codes

HEX#3A2F70
RGBrgb(58, 47, 112)
RGB percentrgb(22.7%, 18.4%, 43.9%)
HSLhsl(250, 41%, 31%)
HSV / HSBhsv(250, 58%, 44%)
CMYKcmyk(48%, 58%, 0%, 56%)
CIE LABlab(24.01, 23.1, -36.16)
CIE LCHlch(24.01, 42.91, 302.57)
CIE XYZxyz(5.685, 4.102, 15.818)
Decimal3813232
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #3A2F70, 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 #3A2F70RatioAAAAAAA large
Sample text1.82:1FailFailFail
Sample text11.54:1PassPassPass
#3A2F70 as text onRatioAAAAAAA large
Sample text11.54:1PassPassPass
Sample text1.82: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 #3A2F70 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #3a2f70; }
.text { color: #3a2f70; }
.border { border: 2px solid #3a2f70; }
.transparent { background-color: rgb(58 47 112 / 50%); }
.gradient { background: linear-gradient(to right, #3a2f70, #5b2f70); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #3A2F70?
#3A2F70 is a dark, desaturated violet, closest to the named color Her Highness. It belongs to the blue family of colors.
What is the RGB value of #3A2F70?
The RGB value is 58, 47, 112: 58 red, 47 green and 112 blue on a 0 to 255 scale.
What is the complementary color of #3A2F70?
The complementary color is #65702F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #3A2F70?
White text. Black text has a contrast ratio of 1.82:1 and white text 11.54:1. WCAG asks for at least 4.5:1 for normal text.