#831D72#831D72

#831D72 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.165 H 335.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#831D72
RGBrgb(131, 29, 114)
HSLhsl(310, 64%, 31%)
HSVhsv(310, 78%, 51%)
CMYKcmyk(0%, 77.9%, 13%, 48.6%)
CIE-LABlab(31.62, 51.26, -24.68)
CIE-LCHlch(31.62, 56.89, 334.29°)
OKLaboklab(43.24% 0.1502 -0.0674)
OKLCHoklch(43.24% 0.165 335.9)
XYZxyz(12.8369, 6.9201, 16.5760)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D72 #1D832E
analogous
#611D83 #831D72 #831D3F
triadic
#831D72 #72831D #1D7283
tetradic
#831D72 #83611D #1D832E #1D3F83
square
#831D72 #83611D #1D832E #1D3F83
split-complementary
#831D72 #3F831D #1D8361
monochromatic
#1F071B #511246 #831D72 #B5289E #D645BE

Accessibility & contrast

On white

8.81
#831D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#831D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D72
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D72#FFFFFF#000000##FFFFFF
##831D721.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4174
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#8A2546
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831d72;
/* rgb */ color: rgb(131, 29, 114);
/* oklch */ color: oklch(43.2% 0.165 335.9);
Tailwind
colors: {
  custom: {
    50: '#aa659b',
    500: '#831d72',
    950: '#000000',
  },
}
SCSS
$custom: #831d72;
$custom-light: #aa659b;
$custom-dark: #000000;
JSON
{
  "hex": "#831d72",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 310,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.16465,
    "h": 335.9
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#831D72
secondary
#46B658
accent
#E75D41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831D72

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#831D72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva