#831D7D#831D7D

#831D7D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.173 H 330.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#831D7D
RGBrgb(131, 29, 125)
HSLhsl(304, 64%, 31%)
HSVhsv(304, 78%, 51%)
CMYKcmyk(0%, 77.9%, 4.6%, 48.6%)
CIE-LABlab(32.23, 53.01, -30.68)
CIE-LCHlch(32.23, 61.25, 329.94°)
OKLaboklab(43.87% 0.1508 -0.0847)
OKLCHoklch(43.87% 0.173 330.7)
XYZxyz(13.5011, 7.1858, 20.0740)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D7D #1D8323
analogous
#561D83 #831D7D #831D4A
triadic
#831D7D #7D831D #1D7D83
tetradic
#831D7D #83561D #1D8323 #1D4A83
square
#831D7D #83561D #1D8323 #1D4A83
split-complementary
#831D7D #4A831D #1D8356
monochromatic
#1F071D #51124D #831D7D #B528AD #D645CD

Accessibility & contrast

On white

8.62
#831D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#831D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D7D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D7D#FFFFFF#000000##FFFFFF
##831D7D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#3D517B
Tritanopia (blue-blind)
#882B4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831d7d;
/* rgb */ color: rgb(131, 29, 125);
/* oklch */ color: oklch(43.9% 0.173 330.7);
Tailwind
colors: {
  custom: {
    50: '#aa65a3',
    500: '#831d7d',
    950: '#000000',
  },
}
SCSS
$custom: #831d7d;
$custom-light: #aa65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#831d7d",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 303.529,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43866,
    "c": 0.17294,
    "h": 330.7
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#831D7D
secondary
#46B64C
accent
#E74B41
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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