#831D88#831D88

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

Color values

HEX#831D88
RGBrgb(131, 29, 136)
HSLhsl(297, 65%, 32%)
HSVhsv(297, 79%, 53%)
CMYKcmyk(3.7%, 78.7%, 0%, 46.7%)
CIE-LABlab(32.88, 54.88, -36.50)
CIE-LCHlch(32.88, 65.91, 326.37°)
OKLaboklab(44.54% 0.1506 -0.1016)
OKLCHoklch(44.54% 0.182 326)
XYZxyz(14.2431, 7.4826, 23.9819)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D88 #22881D
analogous
#4D1D88 #831D88 #881D58
triadic
#831D88 #88831D #1D8883
tetradic
#831D88 #884D1D #22881D #1D5888
square
#831D88 #884D1D #22881D #1D5888
split-complementary
#831D88 #58881D #1D884D
monochromatic
#220723 #521256 #831D88 #B428BA #D148D8

Accessibility & contrast

On white

8.41
#831D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831D88
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D88#FFFFFF#000000##FFFFFF
##831D881.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#863052
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831d88;
/* rgb */ color: rgb(131, 29, 136);
/* oklch */ color: oklch(44.5% 0.182 326.0);
Tailwind
colors: {
  custom: {
    50: '#ab66ab',
    500: '#831d88',
    950: '#000000',
  },
}
SCSS
$custom: #831d88;
$custom-light: #ab66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#831d88",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 297.196,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44544,
    "c": 0.18164,
    "h": 326
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#831D88
secondary
#4CBA47
accent
#E84048
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831D88

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

Preview Lab → · Contrast checker → · Palette generator →

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