#831F89#831F89

#831F89 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.180 H 325.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#831F89
RGBrgb(131, 31, 137)
HSLhsl(297, 63%, 33%)
HSVhsv(297, 77%, 54%)
CMYKcmyk(4.4%, 77.4%, 0%, 46.3%)
CIE-LABlab(33.16, 54.43, -36.68)
CIE-LCHlch(33.16, 65.63, 326.03°)
OKLaboklab(44.76% 0.1488 -0.1021)
OKLCHoklch(44.76% 0.18 325.5)
XYZxyz(14.3651, 7.6124, 24.3748)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F89 #25891F
analogous
#4E1F89 #831F89 #891F5A
triadic
#831F89 #89831F #1F8983
tetradic
#831F89 #894E1F #25891F #1F5A89
square
#831F89 #894E1F #25891F #1F5A89
split-complementary
#831F89 #5A891F #1F894E
monochromatic
#240825 #531457 #831F89 #B32ABB #CF4CD6

Accessibility & contrast

On white

8.33
#831F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#831F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F89
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F89#FFFFFF#000000##FFFFFF
##831F891.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#863253
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #831f89;
/* rgb */ color: rgb(131, 31, 137);
/* oklch */ color: oklch(44.8% 0.180 325.5);
Tailwind
colors: {
  custom: {
    50: '#ab67ac',
    500: '#831f89',
    950: '#000000',
  },
}
SCSS
$custom: #831f89;
$custom-light: #ab67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#831f89",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 296.604,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.18044,
    "h": 325.5
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#831F89
secondary
#51B94B
accent
#E6424B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #831F89

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

Preview Lab → · Contrast checker → · Palette generator →

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