#831C81#831C81

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

Color values

HEX#831C81
RGBrgb(131, 28, 129)
HSLhsl(301, 65%, 31%)
HSVhsv(301, 79%, 51%)
CMYKcmyk(0%, 78.6%, 1.5%, 48.6%)
CIE-LABlab(32.35, 53.99, -32.99)
CIE-LCHlch(32.35, 63.27, 328.57°)
OKLaboklab(44.03% 0.1517 -0.0913)
OKLCHoklch(44.03% 0.177 328.9)
XYZxyz(13.7377, 7.2418, 21.4389)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C81 #1C831E
analogous
#511C83 #831C81 #831C4D
triadic
#831C81 #81831C #1C8183
tetradic
#831C81 #83511C #1C831E #1C4D83
square
#831C81 #83511C #1C831E #1C4D83
split-complementary
#831C81 #4D831C #1C8351
monochromatic
#1E061E #51114F #831C81 #B527B3 #D743D4

Accessibility & contrast

On white

8.58
#831C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C81
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C81#FFFFFF#000000##FFFFFF
##831C811.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064384
Deuteranopia (green-blind)
#3B517F
Tritanopia (blue-blind)
#882C4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831c81;
/* rgb */ color: rgb(131, 28, 129);
/* oklch */ color: oklch(44.0% 0.177 328.9);
Tailwind
colors: {
  custom: {
    50: '#ab65a6',
    500: '#831c81',
    950: '#000000',
  },
}
SCSS
$custom: #831c81;
$custom-light: #ab65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#831c81",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 301.165,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4403,
    "c": 0.17706,
    "h": 328.9
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

primary
#831C81
secondary
#45B647
accent
#E84340
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831C81

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

Preview Lab → · Contrast checker → · Palette generator →

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