#831F73#831F73

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

Color values

HEX#831F73
RGBrgb(131, 31, 115)
HSLhsl(310, 62%, 32%)
HSVhsv(310, 76%, 51%)
CMYKcmyk(0%, 76.3%, 12.2%, 48.6%)
CIE-LABlab(31.91, 50.75, -24.87)
CIE-LCHlch(31.91, 56.52, 333.89°)
OKLaboklab(43.46% 0.1484 -0.0679)
OKLCHoklch(43.46% 0.163 335.4)
XYZxyz(12.9447, 7.0442, 16.8942)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F73 #1F832F
analogous
#611F83 #831F73 #831F41
triadic
#831F73 #73831F #1F7383
tetradic
#831F73 #83611F #1F832F #1F4183
square
#831F73 #83611F #1F832F #1F4183
split-complementary
#831F73 #41831F #1F8361
monochromatic
#20081C #521348 #831F73 #B42B9E #D449BE

Accessibility & contrast

On white

8.72
#831F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#831F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F73
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F73#FFFFFF#000000##FFFFFF
##831F731.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4275
Deuteranopia (green-blind)
#435071
Tritanopia (blue-blind)
#8A2747
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831f73;
/* rgb */ color: rgb(131, 31, 115);
/* oklch */ color: oklch(43.5% 0.163 335.4);
Tailwind
colors: {
  custom: {
    50: '#aa669b',
    500: '#831f73',
    950: '#000000',
  },
}
SCSS
$custom: #831f73;
$custom-light: #aa669b;
$custom-dark: #000000;
JSON
{
  "hex": "#831f73",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 309.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4346,
    "c": 0.16319,
    "h": 335.4
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#831F73
secondary
#48B65A
accent
#E55D43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831F73

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

Preview Lab → · Contrast checker → · Palette generator →

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