#831C73#831C73

#831C73 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.166 H 335.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#831C73
RGBrgb(131, 28, 115)
HSLhsl(309, 65%, 31%)
HSVhsv(309, 79%, 51%)
CMYKcmyk(0%, 78.6%, 12.2%, 48.6%)
CIE-LABlab(31.57, 51.73, -25.41)
CIE-LCHlch(31.57, 57.63, 333.84°)
OKLaboklab(43.21% 0.1513 -0.0694)
OKLCHoklch(43.21% 0.166 335.3)
XYZxyz(12.8700, 6.8948, 16.8693)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C73 #1C832C
analogous
#5F1C83 #831C73 #831C3F
triadic
#831C73 #73831C #1C7383
tetradic
#831C73 #835F1C #1C832C #1C3F83
square
#831C73 #835F1C #1C832C #1C3F83
split-complementary
#831C73 #3F831C #1C835F
monochromatic
#1E061A #511147 #831C73 #B5279F #D743C0

Accessibility & contrast

On white

8.83
#831C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C73
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C73#FFFFFF#000000##FFFFFF
##831C731.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4175
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#8A2546
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831c73;
/* rgb */ color: rgb(131, 28, 115);
/* oklch */ color: oklch(43.2% 0.166 335.3);
Tailwind
colors: {
  custom: {
    50: '#ab659b',
    500: '#831c73',
    950: '#000000',
  },
}
SCSS
$custom: #831c73;
$custom-light: #ab659b;
$custom-dark: #000000;
JSON
{
  "hex": "#831c73",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 309.32,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.16645,
    "h": 335.3
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#831C73
secondary
#45B656
accent
#E85A40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831C73

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

Preview Lab → · Contrast checker → · Palette generator →

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