#662271 color

#662271 rgb(102, 34, 113)
Shades of purple

The hex color #662271 is a dark, moderate magenta.

In the RGB color model it is made of 40% red, 13.3% green and 44.3% blue (102, 34, 113).

Its hue angle is 292°, with 54% saturation and 29% lightness. For print, the CMYK equivalent is 10% cyan, 70% magenta, 0% yellow and 56% black.

The closest named color is Elegant Purple Gown (#552367), a difference of 3.6 ΔE, a small difference.

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

#662271 color codes

HEX#662271
RGBrgb(102, 34, 113)
RGB percentrgb(40%, 13.3%, 44.3%)
HSLhsl(292, 54%, 29%)
HSV / HSBhsv(292, 70%, 44%)
CMYKcmyk(10%, 70%, 0%, 56%)
CIE LABlab(27.19, 42, -31.38)
CIE LCHlch(27.19, 52.43, 323.23)
CIE XYZxyz(9.032, 5.162, 16.14)
Decimal6693489
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #662271, 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 #662271RatioAAAAAAA large
Sample text2.03:1FailFailFail
Sample text10.33:1PassPassPass
#662271 as text onRatioAAAAAAA large
Sample text10.33:1PassPassPass
Sample text2.03: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 #662271 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #662271; }
.text { color: #662271; }
.border { border: 2px solid #662271; }
.transparent { background-color: rgb(102 34 113 / 50%); }
.gradient { background: linear-gradient(to right, #662271, #712255); }
Background
Text color
Border

Similar colors

Closest common color name: Purple.

Questions

What color is #662271?
#662271 is a dark, moderate magenta, closest to the named color Elegant Purple Gown. It belongs to the purple family of colors.
What is the RGB value of #662271?
The RGB value is 102, 34, 113: 102 red, 34 green and 113 blue on a 0 to 255 scale.
What is the complementary color of #662271?
The complementary color is #2D7122, found by rotating the hue 180° on the color wheel.
Is black or white text better on #662271?
White text. Black text has a contrast ratio of 2.03:1 and white text 10.33:1. WCAG asks for at least 4.5:1 for normal text.