#811FB2 color

#811FB2 is rgb(129, 31, 178) in RGB and hsl(280, 70%, 41%) in HSL. The closest CSS named color is darkviolet (#9400d3, ΔE 4.9). Use white text on it (contrast 7.57:1).

#811FB2magenta
HEX#811FB2
RGBrgb(129, 31, 178)
RGB percentrgb(50.6%, 12.2%, 69.8%)
HSLhsl(280, 70%, 41%)
HSV / HSBhsv(280, 83%, 70%)
CMYKcmyk(28%, 83%, 0%, 30%)
CIELAB (D65)lab(35.7 61.9 -57.4)

Edit in the color converter → · Check contrast → · Shades →

About #811FB2

#811FB2 is a medium-dark, saturated magenta with a hue angle of 280°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 178 (70%) and green the weakest at 31 (12%). Colors like this are typically used for headers, navigation bars and strong brand areas.

Color conversions

HEX#811FB2
RGBrgb(129, 31, 178)
RGB percentrgb(50.6%, 12.2%, 69.8%)
HSLhsl(280, 70%, 41%)
HSV / HSBhsv(280, 83%, 70%)
CMYKcmyk(28%, 83%, 0%, 30%)
CIELAB (D65)lab(35.7 61.9 -57.4)
Decimal8462258
Binary10000001 00011111 10110010

HEX 81 1F B2 → 129, 31, 178 (each pair is a base-16 number: 8×16 + 1 = 129)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #811FB2

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #811FB2RatioAA normalAA largeAAA normalAAA large
White text7.57:1PassPassPassPass
Black text2.77:1FailFailFailFail
White text on #811FB2
Black text on #811FB2
#811FB2 text on white
#811FB2 text on black

Relative luminance is 0.0886 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0050b6

Deuteranopia
#0055af

Tritanopia
#7a466b

Achromatopsia
#545454

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 23.7). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkviolet#9400d34.9
rebeccapurple#6633996
darkorchid#9932cc6.8
blueviolet#8a2be27.4

CSS

.element {
  color: #811fb2;
  background-color: rgb(129, 31, 178);
  border: 1px solid hsl(280, 70%, 41%);
  box-shadow: 0 2px 8px rgb(129 31 178 / 50%);
}
:root { --brand: #811fb2; }

Frequently asked questions

What color is #811FB2?
A medium-dark saturated magenta in the purple family. Closest CSS name: darkviolet.
What is #811FB2 in RGB?
rgb(129, 31, 178): red 129, green 31, blue 178.
What is the complementary color of #811FB2?
#50B21F, found by rotating the hue 180°.