#831E79#831E79

#831E79 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.169 H 332.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#831E79
RGBrgb(131, 30, 121)
HSLhsl(306, 63%, 32%)
HSVhsv(306, 77%, 51%)
CMYKcmyk(0%, 77.1%, 7.6%, 48.6%)
CIE-LABlab(32.11, 52.04, -28.34)
CIE-LCHlch(32.11, 59.26, 331.43°)
OKLaboklab(43.71% 0.1498 -0.0779)
OKLCHoklch(43.71% 0.169 332.5)
XYZxyz(13.2756, 7.1354, 18.7635)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E79 #1E8328
analogous
#5B1E83 #831E79 #831E47
triadic
#831E79 #79831E #1E7983
tetradic
#831E79 #835B1E #1E8328 #1E4783
square
#831E79 #835B1E #1E8328 #1E4783
split-complementary
#831E79 #47831E #1E835B
monochromatic
#1F071D #51134B #831E79 #B529A7 #D547C7

Accessibility & contrast

On white

8.65
#831E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#831E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E79
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E79#FFFFFF#000000##FFFFFF
##831E791.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#89294A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831e79;
/* rgb */ color: rgb(131, 30, 121);
/* oklch */ color: oklch(43.7% 0.169 332.5);
Tailwind
colors: {
  custom: {
    50: '#aa66a0',
    500: '#831e79',
    950: '#000000',
  },
}
SCSS
$custom: #831e79;
$custom-light: #aa66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#831e79",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 305.941,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.1688,
    "h": 332.5
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#831E79
secondary
#47B652
accent
#E65242
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831E79

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

Preview Lab → · Contrast checker → · Palette generator →

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