#831C77#831C77

#831C77 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.169 H 333.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#831C77
RGBrgb(131, 28, 119)
HSLhsl(307, 65%, 31%)
HSVhsv(307, 79%, 51%)
CMYKcmyk(0%, 78.6%, 9.2%, 48.6%)
CIE-LABlab(31.78, 52.35, -27.60)
CIE-LCHlch(31.78, 59.19, 332.20°)
OKLaboklab(43.44% 0.1515 -0.0757)
OKLCHoklch(43.44% 0.169 333.4)
XYZxyz(13.1052, 6.9888, 18.1080)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C77 #1C8328
analogous
#5B1C83 #831C77 #831C43
triadic
#831C77 #77831C #1C7783
tetradic
#831C77 #835B1C #1C8328 #1C4383
square
#831C77 #835B1C #1C8328 #1C4383
split-complementary
#831C77 #43831C #1C835B
monochromatic
#1E061B #511149 #831C77 #B527A5 #D743C5

Accessibility & contrast

On white

8.76
#831C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#831C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C77
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C77#FFFFFF#000000##FFFFFF
##831C771.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184179
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#892748
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831c77;
/* rgb */ color: rgb(131, 28, 119);
/* oklch */ color: oklch(43.4% 0.169 333.4);
Tailwind
colors: {
  custom: {
    50: '#aa659e',
    500: '#831c77',
    950: '#000000',
  },
}
SCSS
$custom: #831c77;
$custom-light: #aa659e;
$custom-dark: #000000;
JSON
{
  "hex": "#831c77",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 306.99,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43439,
    "c": 0.1694,
    "h": 333.4
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#831C77
secondary
#45B652
accent
#E85440
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831C77

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

Preview Lab → · Contrast checker → · Palette generator →

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