#831A85#831A85

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

Color values

HEX#831A85
RGBrgb(131, 26, 133)
HSLhsl(299, 67%, 31%)
HSVhsv(299, 80%, 52%)
CMYKcmyk(1.5%, 80.5%, 0%, 47.8%)
CIE-LABlab(32.39, 55.25, -35.43)
CIE-LCHlch(32.39, 65.63, 327.33°)
OKLaboklab(44.13% 0.1532 -0.0984)
OKLCHoklch(44.13% 0.182 327.3)
XYZxyz(13.9629, 7.2586, 22.8514)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A85 #1C851A
analogous
#4D1A85 #831A85 #851A51
triadic
#831A85 #85831A #1A8583
tetradic
#831A85 #854D1A #1C851A #1A5185
square
#831A85 #854D1A #1C851A #1A5185
split-complementary
#831A85 #51851A #1A854D
monochromatic
#1E061F #511052 #831A85 #B524B8 #D740DA

Accessibility & contrast

On white

8.57
#831A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#831A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A85
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A85#FFFFFF#000000##FFFFFF
##831A851.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831a85;
/* rgb */ color: rgb(131, 26, 133);
/* oklch */ color: oklch(44.1% 0.182 327.3);
Tailwind
colors: {
  custom: {
    50: '#ab65a9',
    500: '#831a85',
    950: '#000000',
  },
}
SCSS
$custom: #831a85;
$custom-light: #ab65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#831a85",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 298.879,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.18211,
    "h": 327.3
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#831A85
secondary
#45B842
accent
#EA3E41
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831A85

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

Preview Lab → · Contrast checker → · Palette generator →

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