#271B45 color

#271B45 rgb(39, 27, 69)
Shades of purple

The hex color #271B45 is a very dark, desaturated violet.

In the RGB color model it is made of 15.3% red, 10.6% green and 27.1% blue (39, 27, 69).

Its hue angle is 257°, with 44% saturation and 19% lightness. For print, the CMYK equivalent is 43% cyan, 61% magenta, 0% yellow and 73% black.

The closest named color is Azulado (#211D49), a difference of 2.4 ΔE, a small difference.

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

#271B45 color codes

HEX#271B45
RGBrgb(39, 27, 69)
RGB percentrgb(15.3%, 10.6%, 27.1%)
HSLhsl(257, 44%, 19%)
HSV / HSBhsv(257, 61%, 27%)
CMYKcmyk(43%, 61%, 0%, 73%)
CIE LABlab(13.5, 17.52, -24.5)
CIE LCHlch(13.5, 30.12, 305.57)
CIE XYZxyz(2.303, 1.645, 5.825)
Decimal2562885
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #271B45, 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 #271B45RatioAAAAAAA large
Sample text1.33:1FailFailFail
Sample text15.8:1PassPassPass
#271B45 as text onRatioAAAAAAA large
Sample text15.8:1PassPassPass
Sample text1.33: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 #271B45 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #271b45; }
.text { color: #271b45; }
.border { border: 2px solid #271b45; }
.transparent { background-color: rgb(39 27 69 / 50%); }
.gradient { background: linear-gradient(to right, #271b45, #3c1b45); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #271B45?
#271B45 is a very dark, desaturated violet, closest to the named color Azulado. It belongs to the purple family of colors.
What is the RGB value of #271B45?
The RGB value is 39, 27, 69: 39 red, 27 green and 69 blue on a 0 to 255 scale.
What is the complementary color of #271B45?
The complementary color is #39451B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #271B45?
White text. Black text has a contrast ratio of 1.33:1 and white text 15.8:1. WCAG asks for at least 4.5:1 for normal text.