#831C80#831C80

#831C80 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.176 H 329.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#831C80
RGBrgb(131, 28, 128)
HSLhsl(302, 65%, 31%)
HSVhsv(302, 79%, 51%)
CMYKcmyk(0%, 78.6%, 2.3%, 48.6%)
CIE-LABlab(32.29, 53.82, -32.46)
CIE-LCHlch(32.29, 62.85, 328.91°)
OKLaboklab(43.97% 0.1517 -0.0898)
OKLCHoklch(43.97% 0.176 329.4)
XYZxyz(13.6715, 7.2154, 21.0905)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C80 #1C831F
analogous
#521C83 #831C80 #831C4C
triadic
#831C80 #80831C #1C8083
tetradic
#831C80 #83521C #1C831F #1C4C83
square
#831C80 #83521C #1C831F #1C4C83
split-complementary
#831C80 #4C831C #1C8352
monochromatic
#1E061D #51114F #831C80 #B527B1 #D743D2

Accessibility & contrast

On white

8.60
#831C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C80
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C80#FFFFFF#000000##FFFFFF
##831C801.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084383
Deuteranopia (green-blind)
#3B517E
Tritanopia (blue-blind)
#882C4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831c80;
/* rgb */ color: rgb(131, 28, 128);
/* oklch */ color: oklch(44.0% 0.176 329.4);
Tailwind
colors: {
  custom: {
    50: '#ab65a5',
    500: '#831c80',
    950: '#000000',
  },
}
SCSS
$custom: #831c80;
$custom-light: #ab65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#831c80",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 301.748,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43969,
    "c": 0.17628,
    "h": 329.4
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#831C80
secondary
#45B648
accent
#E84540
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831C80

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

Preview Lab → · Contrast checker → · Palette generator →

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