Skip to content

#831776

a dark, vivid magenta / pink · neutral · closest name: Purple

RGB
131, 23, 118
HSL
307°, 70%, 30%
CMYK
0, 82, 10, 49
Luminance
0.0675

At a glance

Every number on this page in one read: what #831776 is made of, how bright it looks, and which way it leans.

Hex
#831776
Hue
307°
magenta / pink
Saturation
70%
vivid
Lightness
30%
dark
Brightness
51%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0675
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
8.94:1
Closest name
Purple
ΔE2000 3.3
Where it sits
Hue307° of 360°
Saturation70%
Lightness30%
Temperature
Warm ← → Cool46% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#831776
RGBrgb(131, 23, 118)
HSLhsl(307, 70%, 30%)
CMYKcmyk(0%, 82%, 10%, 49%)
LABlab(31.2 53.6 -27.9)
LCHlch(31.2 60.4 332.6)
OKLCHoklch(0.430 0.173 333.9)
Decimal8591222
Display P3color(display-p3 0.514 0.090 0.463)

Copy-ready code

/* CSS */
color: #831776;
background-color: #831776;
/* Tailwind (arbitrary) */
class="text-[#831776] bg-[#831776]"
/* SCSS */
$brand: #831776;
/* SwiftUI */
Color(red: 0.514, green: 0.090, blue: 0.463)
/* Android */
Color.parseColor("#831776")
/* Flutter */
Color(0xFF831776)
/* Python / OpenCV (BGR) */
(118, 23, 131)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #831776 · 8.94:1
Use #ffffffAAA at every size.
Aa
White text · 8.94:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.35:1
AA fail · AA large fail · AAA fail
Reading the other direction: #831776 as text scores 8.94:1 on white and 2.35:1 on black.

Accessibility — WCAG contrast

Aa
#831776 on white: 8.94:1
AA ✓ pass · AA-large · AAA
Aa
#831776 on black: 2.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #134078
deuteranopia · #3F4F74
tritanopia · #892346

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #831776 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF3FB
#F8E7F6
#F2C9ED
#EEA0E5
#E670D8
#DD40CB
#D025BC
#AE1E9C
#831776
#65165B
#3F0E39
Base = 800Lightest = 50 · #FCF3FBDarkest = 950 · #3F0E39
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F8E7F6;
  --brand-200: #F2C9ED;
  --brand-300: #EEA0E5;
  --brand-400: #E670D8;
  --brand-500: #DD40CB;
  --brand-600: #D025BC;
  --brand-700: #AE1E9C;
  --brand-800: #831776;
  --brand-900: #65165B;
  --brand-950: #3F0E39;
  --brand: #831776;
  --brand-ink: #ffffff;
}

Colors that work with #831776

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#EDC0E7
Hairlines and dividers
Muted text#9B4B91
Captions on the surface
Accent#238614
Second voice, not a rival
Dark variant#6C1362
Hover, pressed, headers
Light variant#FBE9F9
Selected rows, tints
Dark surface#241422
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #831776

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#178324
Analogous left#5A1783
Analogous right#831740
Split-complement 1#408317
Split-complement 2#17835A
Triadic 1#768317
Triadic 2#177683
Tetradic#835A17

RGB percentages

Red51.4%
Green9.0%
Blue46.3%

CMYK percentages

Cyan0.0%
Magenta82.4%
Yellow9.9%
Key (black)48.6%

Color previews

#831776 text on a black background

contrast 2.35:1

Card sample

#831776 text on a white background

contrast 8.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #831776;
Background color
Panel with #831776 background
background-color: #831776;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #831776;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(131, 23, 118, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(131, 23, 118, 0.45);
Border & gradient
Gradient panel
border: 3px solid #831776;
background: linear-gradient(135deg, #831776, #83172E);

Monochromatic scale

Palettes built from #831776

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#831776 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#831776, answered

What color is #831776?

#831776 is a dark vivid magenta / pink, closest to Purple (ΔE2000 3.3). It sits at 307° on the hue wheel with 70% saturation and 30% lightness, which reads as neutral.

What is the RGB value of #831776?

rgb(131, 23, 118) — 131 red, 23 green and 118 blue out of 255, or 51.4% / 9% / 46.3% by channel.

Is #831776 a light or a dark color?

It is a dark color. Relative luminance is 0.0675 and perceived brightness is 33%, so white text on it reaches 8.94:1.

Should I use black or white text on #831776?

White. It scores 8.94:1 against #831776, versus 2.35:1 for black — AAA at any size.

What is the complementary color of #831776?

#178324 sits directly opposite on the wheel. Softer options are the split-complements #408317 and #17835A, which give the same contrast with far less vibration.

What colors go well with #831776?

For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B91 for secondary text, #238614 as an accent and #6C1362 for hover and pressed states. For a palette, the analogous pair #5A1783 and #831740 stays calm, while #178324 is the loudest partner.

What is #831776 in CMYK for printing?

cmyk(0%, 82%, 10%, 49%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #831776 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #83174E; nudged cooler, #691585.

Work with #831776 in the Color Lab