#831B85#831B85

#831B85 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.181 H 327.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#831B85
RGBrgb(131, 27, 133)
HSLhsl(299, 66%, 31%)
HSVhsv(299, 80%, 52%)
CMYKcmyk(1.5%, 79.7%, 0%, 47.8%)
CIE-LABlab(32.49, 54.97, -35.27)
CIE-LCHlch(32.49, 65.31, 327.32°)
OKLaboklab(44.21% 0.1524 -0.098)
OKLCHoklch(44.21% 0.181 327.3)
XYZxyz(13.9854, 7.3036, 22.8589)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B85 #1D851B
analogous
#4E1B85 #831B85 #851B52
triadic
#831B85 #85831B #1B8583
tetradic
#831B85 #854E1B #1D851B #1B5285
square
#831B85 #854E1B #1D851B #1B5285
split-complementary
#831B85 #52851B #1B854E
monochromatic
#1F061F #511152 #831B85 #B525B8 #D642D9

Accessibility & contrast

On white

8.53
#831B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B85
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B85#FFFFFF#000000##FFFFFF
##831B851.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#385182
Tritanopia (blue-blind)
#872E50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831b85;
/* rgb */ color: rgb(131, 27, 133);
/* oklch */ color: oklch(44.2% 0.181 327.3);
Tailwind
colors: {
  custom: {
    50: '#ab65a9',
    500: '#831b85',
    950: '#000000',
  },
}
SCSS
$custom: #831b85;
$custom-light: #ab65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#831b85",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 298.868,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44205,
    "c": 0.18118,
    "h": 327.3
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#831B85
secondary
#46B844
accent
#E93F42
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831B85

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

Preview Lab → · Contrast checker → · Palette generator →

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