#831D74#831D74

#831D74 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.166 H 334.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#831D74
RGBrgb(131, 29, 116)
HSLhsl(309, 64%, 31%)
HSVhsv(309, 78%, 51%)
CMYKcmyk(0%, 77.9%, 11.5%, 48.6%)
CIE-LABlab(31.73, 51.57, -25.79)
CIE-LCHlch(31.73, 57.65, 333.43°)
OKLaboklab(43.35% 0.1504 -0.0705)
OKLCHoklch(43.35% 0.166 334.9)
XYZxyz(12.9520, 6.9661, 17.1821)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D74 #1D832C
analogous
#5F1D83 #831D74 #831D41
triadic
#831D74 #74831D #1D7483
tetradic
#831D74 #835F1D #1D832C #1D4183
square
#831D74 #835F1D #1D832C #1D4183
split-complementary
#831D74 #41831D #1D835F
monochromatic
#1F071B #511248 #831D74 #B528A0 #D645C0

Accessibility & contrast

On white

8.78
#831D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#831D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D74
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D74#FFFFFF#000000##FFFFFF
##831D741.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#8A2647
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831d74;
/* rgb */ color: rgb(131, 29, 116);
/* oklch */ color: oklch(43.3% 0.166 334.9);
Tailwind
colors: {
  custom: {
    50: '#aa659c',
    500: '#831d74',
    950: '#000000',
  },
}
SCSS
$custom: #831d74;
$custom-light: #aa659c;
$custom-dark: #000000;
JSON
{
  "hex": "#831d74",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 308.824,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43349,
    "c": 0.16612,
    "h": 334.9
  },
  "luminance": 0.06965
}

Semantic roles & 50–950 ramp

primary
#831D74
secondary
#46B656
accent
#E75941
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831D74

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

Preview Lab → · Contrast checker → · Palette generator →

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