#831D76#831D76

#831D76 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.168 H 333.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#831D76
RGBrgb(131, 29, 118)
HSLhsl(308, 64%, 31%)
HSVhsv(308, 78%, 51%)
CMYKcmyk(0%, 77.9%, 9.9%, 48.6%)
CIE-LABlab(31.84, 51.88, -26.88)
CIE-LCHlch(31.84, 58.43, 332.61°)
OKLaboklab(43.46% 0.1505 -0.0737)
OKLCHoklch(43.46% 0.168 333.9)
XYZxyz(13.0696, 7.0132, 17.8014)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D76 #1D832A
analogous
#5D1D83 #831D76 #831D43
triadic
#831D76 #76831D #1D7683
tetradic
#831D76 #835D1D #1D832A #1D4383
square
#831D76 #835D1D #1D832A #1D4383
split-complementary
#831D76 #43831D #1D835D
monochromatic
#1F071C #511249 #831D76 #B528A3 #D645C3

Accessibility & contrast

On white

8.74
#831D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831D76
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D76#FFFFFF#000000##FFFFFF
##831D761.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#892748
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831d76;
/* rgb */ color: rgb(131, 29, 118);
/* oklch */ color: oklch(43.5% 0.168 333.9);
Tailwind
colors: {
  custom: {
    50: '#aa659e',
    500: '#831d76',
    950: '#000000',
  },
}
SCSS
$custom: #831d76;
$custom-light: #aa659e;
$custom-dark: #000000;
JSON
{
  "hex": "#831d76",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 307.647,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43461,
    "c": 0.16761,
    "h": 333.9
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#831D76
secondary
#46B654
accent
#E75641
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831D76

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

Preview Lab → · Contrast checker → · Palette generator →

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