#831F82#831F82

#831F82 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.175 H 328.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#831F82
RGBrgb(131, 31, 130)
HSLhsl(301, 62%, 32%)
HSVhsv(301, 76%, 51%)
CMYKcmyk(0%, 76.3%, 0.8%, 48.6%)
CIE-LABlab(32.74, 53.21, -33.00)
CIE-LCHlch(32.74, 62.61, 328.20°)
OKLaboklab(44.33% 0.149 -0.0914)
OKLCHoklch(44.33% 0.175 328.5)
XYZxyz(13.8792, 7.4180, 21.8156)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F82 #1F8320
analogous
#521F83 #831F82 #831F50
triadic
#831F82 #82831F #1F8283
tetradic
#831F82 #83521F #1F8320 #1F5083
square
#831F82 #83521F #1F8320 #1F5083
split-complementary
#831F82 #50831F #1F8352
monochromatic
#200820 #521351 #831F82 #B42BB3 #D449D2

Accessibility & contrast

On white

8.46
#831F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#831F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F82
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F82#FFFFFF#000000##FFFFFF
##831F821.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4585
Deuteranopia (green-blind)
#3B5280
Tritanopia (blue-blind)
#872F4F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831f82;
/* rgb */ color: rgb(131, 31, 130);
/* oklch */ color: oklch(44.3% 0.175 328.5);
Tailwind
colors: {
  custom: {
    50: '#aa66a7',
    500: '#831f82',
    950: '#000000',
  },
}
SCSS
$custom: #831f82;
$custom-light: #aa66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#831f82",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 300.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44327,
    "c": 0.17476,
    "h": 328.5
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#831F82
secondary
#48B649
accent
#E54543
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831F82

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

Preview Lab → · Contrast checker → · Palette generator →

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