#831D82#831D82

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

Color values

HEX#831D82
RGBrgb(131, 29, 130)
HSLhsl(301, 64%, 31%)
HSVhsv(301, 78%, 51%)
CMYKcmyk(0%, 77.9%, 0.8%, 48.6%)
CIE-LABlab(32.52, 53.85, -33.35)
CIE-LCHlch(32.52, 63.34, 328.23°)
OKLaboklab(44.17% 0.1508 -0.0924)
OKLCHoklch(44.17% 0.177 328.5)
XYZxyz(13.8286, 7.3168, 21.7987)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D82 #1D831E
analogous
#511D83 #831D82 #831D4F
triadic
#831D82 #82831D #1D8283
tetradic
#831D82 #83511D #1D831E #1D4F83
square
#831D82 #83511D #1D831E #1D4F83
split-complementary
#831D82 #4F831D #1D8351
monochromatic
#1F071F #511250 #831D82 #B528B4 #D645D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831D82#FFFFFF#000000##FFFFFF
##831D821.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)
#064485
Deuteranopia (green-blind)
#3B5180
Tritanopia (blue-blind)
#872D4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831d82;
/* rgb */ color: rgb(131, 29, 130);
/* oklch */ color: oklch(44.2% 0.177 328.5);
Tailwind
colors: {
  custom: {
    50: '#ab66a7',
    500: '#831d82',
    950: '#000000',
  },
}
SCSS
$custom: #831d82;
$custom-light: #ab66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#831d82",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 300.588,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.17685,
    "h": 328.5
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#831D82
secondary
#46B647
accent
#E74341
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831D82

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

Preview Lab → · Contrast checker → · Palette generator →

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