#831A82#831A82

#831A82 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.180 H 328.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#831A82
RGBrgb(131, 26, 130)
HSLhsl(301, 67%, 31%)
HSVhsv(301, 80%, 51%)
CMYKcmyk(0%, 80.2%, 0.8%, 48.6%)
CIE-LABlab(32.21, 54.75, -33.84)
CIE-LCHlch(32.21, 64.36, 328.28°)
OKLaboklab(43.95% 0.1533 -0.0938)
OKLCHoklch(43.95% 0.18 328.5)
XYZxyz(13.7586, 7.1768, 21.7754)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A82 #1A831B
analogous
#4F1A83 #831A82 #831A4D
triadic
#831A82 #82831A #1A8283
tetradic
#831A82 #834F1A #1A831B #1A4D83
square
#831A82 #834F1A #1A831B #1A4D83
split-complementary
#831A82 #4D831A #1A834F
monochromatic
#1D061D #50104F #831A82 #B624B5 #D93FD7

Accessibility & contrast

On white

8.62
#831A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#831A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A82
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A82#FFFFFF#000000##FFFFFF
##831A821.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#395080
Tritanopia (blue-blind)
#882C4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831a82;
/* rgb */ color: rgb(131, 26, 130);
/* oklch */ color: oklch(43.9% 0.180 328.5);
Tailwind
colors: {
  custom: {
    50: '#ab65a7',
    500: '#831a82',
    950: '#000000',
  },
}
SCSS
$custom: #831a82;
$custom-light: #ab65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#831a82",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 300.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.17976,
    "h": 328.5
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#831A82
secondary
#42B743
accent
#EA403E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831A82

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

Preview Lab → · Contrast checker → · Palette generator →

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