#831F71#831F71

#831F71 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.162 H 336.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#831F71
RGBrgb(131, 31, 113)
HSLhsl(311, 62%, 32%)
HSVhsv(311, 76%, 51%)
CMYKcmyk(0%, 76.3%, 13.7%, 48.6%)
CIE-LABlab(31.80, 50.44, -23.76)
CIE-LCHlch(31.80, 55.76, 334.77°)
OKLaboklab(43.35% 0.1482 -0.0647)
OKLCHoklch(43.35% 0.162 336.4)
XYZxyz(12.8309, 6.9987, 16.2947)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F71 #1F8331
analogous
#631F83 #831F71 #831F3F
triadic
#831F71 #71831F #1F7183
tetradic
#831F71 #83631F #1F8331 #1F3F83
square
#831F71 #83631F #1F8331 #1F3F83
split-complementary
#831F71 #3F831F #1F8363
monochromatic
#20081C #521346 #831F71 #B42B9C #D449BB

Accessibility & contrast

On white

8.75
#831F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#831F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F71
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F71#FFFFFF#000000##FFFFFF
##831F711.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#8A2646
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831f71;
/* rgb */ color: rgb(131, 31, 113);
/* oklch */ color: oklch(43.4% 0.162 336.4);
Tailwind
colors: {
  custom: {
    50: '#aa669a',
    500: '#831f71',
    950: '#000000',
  },
}
SCSS
$custom: #831f71;
$custom-light: #aa669a;
$custom-dark: #000000;
JSON
{
  "hex": "#831f71",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 310.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.16171,
    "h": 336.4
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#831F71
secondary
#48B65C
accent
#E56043
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831F71

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

Preview Lab → · Contrast checker → · Palette generator →

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