#831C74#831C74

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

Color values

HEX#831C74
RGBrgb(131, 28, 116)
HSLhsl(309, 65%, 31%)
HSVhsv(309, 79%, 51%)
CMYKcmyk(0%, 78.6%, 11.5%, 48.6%)
CIE-LABlab(31.62, 51.88, -25.96)
CIE-LCHlch(31.62, 58.01, 333.42°)
OKLaboklab(43.27% 0.1513 -0.071)
OKLCHoklch(43.27% 0.167 334.9)
XYZxyz(12.9279, 6.9179, 17.1740)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C74 #1C832B
analogous
#5E1C83 #831C74 #831C40
triadic
#831C74 #74831C #1C7483
tetradic
#831C74 #835E1C #1C832B #1C4083
square
#831C74 #835E1C #1C832B #1C4083
split-complementary
#831C74 #40831C #1C835E
monochromatic
#1E061B #511147 #831C74 #B527A1 #D743C1

Accessibility & contrast

On white

8.81
#831C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#831C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C74
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C74#FFFFFF#000000##FFFFFF
##831C741.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4176
Deuteranopia (green-blind)
#415072
Tritanopia (blue-blind)
#8A2547
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831c74;
/* rgb */ color: rgb(131, 28, 116);
/* oklch */ color: oklch(43.3% 0.167 334.9);
Tailwind
colors: {
  custom: {
    50: '#ab659c',
    500: '#831c74',
    950: '#000000',
  },
}
SCSS
$custom: #831c74;
$custom-light: #ab659c;
$custom-dark: #000000;
JSON
{
  "hex": "#831c74",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 308.738,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4327,
    "c": 0.16718,
    "h": 334.9
  },
  "luminance": 0.06917
}

Semantic roles & 50–950 ramp

primary
#831C74
secondary
#45B655
accent
#E85840
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831C74

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

Preview Lab → · Contrast checker → · Palette generator →

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