#831D81#831D81

#831D81 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.176 H 328.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#831D81
RGBrgb(131, 29, 129)
HSLhsl(301, 64%, 31%)
HSVhsv(301, 78%, 51%)
CMYKcmyk(0%, 77.9%, 1.5%, 48.6%)
CIE-LABlab(32.46, 53.68, -32.82)
CIE-LCHlch(32.46, 62.92, 328.56°)
OKLaboklab(44.11% 0.1508 -0.0909)
OKLCHoklch(44.11% 0.176 328.9)
XYZxyz(13.7618, 7.2901, 21.4469)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D81 #1D831F
analogous
#521D83 #831D81 #831D4E
triadic
#831D81 #81831D #1D8183
tetradic
#831D81 #83521D #1D831F #1D4E83
square
#831D81 #83521D #1D831F #1D4E83
split-complementary
#831D81 #4E831D #1D8352
monochromatic
#1F071E #511250 #831D81 #B528B2 #D645D3

Accessibility & contrast

On white

8.54
#831D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#831D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D81
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D81#FFFFFF#000000##FFFFFF
##831D811.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084484
Deuteranopia (green-blind)
#3B517F
Tritanopia (blue-blind)
#882D4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831d81;
/* rgb */ color: rgb(131, 29, 129);
/* oklch */ color: oklch(44.1% 0.176 328.9);
Tailwind
colors: {
  custom: {
    50: '#ab66a6',
    500: '#831d81',
    950: '#000000',
  },
}
SCSS
$custom: #831d81;
$custom-light: #ab66a6;
$custom-dark: #000000;
JSON
{
  "hex": "#831d81",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 301.176,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.17606,
    "h": 328.9
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#831D81
secondary
#46B648
accent
#E74441
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831D81

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

Preview Lab → · Contrast checker → · Palette generator →

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