#831F77#831F77

#831F77 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.166 H 333.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#831F77
RGBrgb(131, 31, 119)
HSLhsl(307, 62%, 32%)
HSVhsv(307, 76%, 51%)
CMYKcmyk(0%, 76.3%, 9.2%, 48.6%)
CIE-LABlab(32.12, 51.39, -27.07)
CIE-LCHlch(32.12, 58.08, 332.22°)
OKLaboklab(43.68% 0.1487 -0.0742)
OKLCHoklch(43.68% 0.166 333.5)
XYZxyz(13.1799, 7.1383, 18.1329)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F77 #1F832B
analogous
#5D1F83 #831F77 #831F45
triadic
#831F77 #77831F #1F7783
tetradic
#831F77 #835D1F #1F832B #1F4583
square
#831F77 #835D1F #1F832B #1F4583
split-complementary
#831F77 #45831F #1F835D
monochromatic
#20081D #52134A #831F77 #B42BA4 #D449C3

Accessibility & contrast

On white

8.65
#831F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#831F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F77
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F77#FFFFFF#000000##FFFFFF
##831F771.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4279
Deuteranopia (green-blind)
#415175
Tritanopia (blue-blind)
#892949
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831f77;
/* rgb */ color: rgb(131, 31, 119);
/* oklch */ color: oklch(43.7% 0.166 333.5);
Tailwind
colors: {
  custom: {
    50: '#aa669e',
    500: '#831f77',
    950: '#000000',
  },
}
SCSS
$custom: #831f77;
$custom-light: #aa669e;
$custom-dark: #000000;
JSON
{
  "hex": "#831f77",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 307.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43682,
    "c": 0.16618,
    "h": 333.5
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#831F77
secondary
#48B655
accent
#E55643
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831F77

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

Preview Lab → · Contrast checker → · Palette generator →

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