#831B73#831B73

#831B73 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.167 H 335.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#831B73
RGBrgb(131, 27, 115)
HSLhsl(309, 66%, 31%)
HSVhsv(309, 79%, 51%)
CMYKcmyk(0%, 79.4%, 12.2%, 48.6%)
CIE-LABlab(31.46, 52.04, -25.58)
CIE-LCHlch(31.46, 57.98, 333.83°)
OKLaboklab(43.14% 0.1522 -0.0699)
OKLCHoklch(43.14% 0.167 335.3)
XYZxyz(12.8467, 6.8481, 16.8616)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B73 #1B832B
analogous
#5F1B83 #831B73 #831B3F
triadic
#831B73 #73831B #1B7383
tetradic
#831B73 #835F1B #1B832B #1B3F83
square
#831B73 #835F1B #1B832B #1B3F83
split-complementary
#831B73 #3F831B #1B835F
monochromatic
#1E061A #501146 #831B73 #B625A0 #D841C1

Accessibility & contrast

On white

8.86
#831B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#831B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B73
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B73#FFFFFF#000000##FFFFFF
##831B731.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4075
Deuteranopia (green-blind)
#424F71
Tritanopia (blue-blind)
#8A2446
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831b73;
/* rgb */ color: rgb(131, 27, 115);
/* oklch */ color: oklch(43.1% 0.167 335.3);
Tailwind
colors: {
  custom: {
    50: '#ab649b',
    500: '#831b73',
    950: '#000000',
  },
}
SCSS
$custom: #831b73;
$custom-light: #ab649b;
$custom-dark: #000000;
JSON
{
  "hex": "#831b73",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 309.231,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43137,
    "c": 0.16747,
    "h": 335.3
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#831B73
secondary
#43B655
accent
#E9593F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831B73

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

Preview Lab → · Contrast checker → · Palette generator →

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