#831F85#831F85

#831F85 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.177 H 327.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#831F85
RGBrgb(131, 31, 133)
HSLhsl(299, 62%, 32%)
HSVhsv(299, 77%, 52%)
CMYKcmyk(1.5%, 76.7%, 0%, 47.8%)
CIE-LABlab(32.92, 53.73, -34.58)
CIE-LCHlch(32.92, 63.89, 327.23°)
OKLaboklab(44.51% 0.1489 -0.096)
OKLCHoklch(44.51% 0.177 327.2)
XYZxyz(14.0835, 7.4997, 22.8916)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F85 #21851F
analogous
#501F85 #831F85 #851F54
triadic
#831F85 #85831F #1F8583
tetradic
#831F85 #85501F #21851F #1F5485
square
#831F85 #85501F #21851F #1F5485
split-complementary
#831F85 #54851F #1F8550
monochromatic
#210822 #521353 #831F85 #B42BB7 #D24AD5

Accessibility & contrast

On white

8.40
#831F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#831F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F85
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F85#FFFFFF#000000##FFFFFF
##831F851.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034588
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#873051
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831f85;
/* rgb */ color: rgb(131, 31, 133);
/* oklch */ color: oklch(44.5% 0.177 327.2);
Tailwind
colors: {
  custom: {
    50: '#aa67a9',
    500: '#831f85',
    950: '#000000',
  },
}
SCSS
$custom: #831f85;
$custom-light: #aa67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#831f85",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 298.824,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44512,
    "c": 0.17718,
    "h": 327.2
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#831F85
secondary
#4BB749
accent
#E54346
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #831F85

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

Preview Lab → · Contrast checker → · Palette generator →

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