#831D71#831D71

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

Color values

HEX#831D71
RGBrgb(131, 29, 113)
HSLhsl(311, 64%, 31%)
HSVhsv(311, 78%, 51%)
CMYKcmyk(0%, 77.9%, 13.7%, 48.6%)
CIE-LABlab(31.57, 51.10, -24.13)
CIE-LCHlch(31.57, 56.51, 334.73°)
OKLaboklab(43.19% 0.1502 -0.0658)
OKLCHoklch(43.19% 0.164 336.3)
XYZxyz(12.7803, 6.8975, 16.2778)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D71 #1D832F
analogous
#621D83 #831D71 #831D3E
triadic
#831D71 #71831D #1D7183
tetradic
#831D71 #83621D #1D832F #1D3E83
square
#831D71 #83621D #1D832F #1D3E83
split-complementary
#831D71 #3E831D #1D8362
monochromatic
#1F071B #511246 #831D71 #B5289C #D645BC

Accessibility & contrast

On white

8.83
#831D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831D71
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D71#FFFFFF#000000##FFFFFF
##831D711.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#8A2445
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831d71;
/* rgb */ color: rgb(131, 29, 113);
/* oklch */ color: oklch(43.2% 0.164 336.3);
Tailwind
colors: {
  custom: {
    50: '#aa659a',
    500: '#831d71',
    950: '#000000',
  },
}
SCSS
$custom: #831d71;
$custom-light: #aa659a;
$custom-dark: #000000;
JSON
{
  "hex": "#831d71",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 310.588,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43185,
    "c": 0.16392,
    "h": 336.3
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#831D71
secondary
#46B65A
accent
#E75E41
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831D71

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

Preview Lab → · Contrast checker → · Palette generator →

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