#831A73#831A73

#831A73 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.168 H 335.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#831A73
RGBrgb(131, 26, 115)
HSLhsl(309, 67%, 31%)
HSVhsv(309, 80%, 51%)
CMYKcmyk(0%, 80.2%, 12.2%, 48.6%)
CIE-LABlab(31.35, 52.34, -25.74)
CIE-LCHlch(31.35, 58.32, 333.81°)
OKLaboklab(43.06% 0.1531 -0.0704)
OKLCHoklch(43.06% 0.168 335.3)
XYZxyz(12.8242, 6.8031, 16.8541)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A73 #1A832A
analogous
#5E1A83 #831A73 #831A3E
triadic
#831A73 #73831A #1A7383
tetradic
#831A73 #835E1A #1A832A #1A3E83
square
#831A73 #835E1A #1A832A #1A3E83
split-complementary
#831A73 #3E831A #1A835E
monochromatic
#1D0619 #501046 #831A73 #B624A0 #D93FC1

Accessibility & contrast

On white

8.90
#831A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#831A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A73
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A73#FFFFFF#000000##FFFFFF
##831A731.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4075
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#8A2345
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831a73;
/* rgb */ color: rgb(131, 26, 115);
/* oklch */ color: oklch(43.1% 0.168 335.3);
Tailwind
colors: {
  custom: {
    50: '#ab649b',
    500: '#831a73',
    950: '#000000',
  },
}
SCSS
$custom: #831a73;
$custom-light: #ab649b;
$custom-dark: #000000;
JSON
{
  "hex": "#831a73",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 309.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.16847,
    "h": 335.3
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#831A73
secondary
#42B754
accent
#EA583E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831A73

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

Preview Lab → · Contrast checker → · Palette generator →

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