#831A76#831A76

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

Color values

HEX#831A76
RGBrgb(131, 26, 118)
HSLhsl(307, 67%, 31%)
HSVhsv(307, 80%, 51%)
CMYKcmyk(0%, 80.2%, 9.9%, 48.6%)
CIE-LABlab(31.52, 52.80, -27.39)
CIE-LCHlch(31.52, 59.48, 332.58°)
OKLaboklab(43.23% 0.1532 -0.0751)
OKLCHoklch(43.23% 0.171 333.9)
XYZxyz(12.9996, 6.8732, 17.7780)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A76 #1A8327
analogous
#5B1A83 #831A76 #831A41
triadic
#831A76 #76831A #1A7683
tetradic
#831A76 #835B1A #1A8327 #1A4183
square
#831A76 #835B1A #1A8327 #1A4183
split-complementary
#831A76 #41831A #1A835B
monochromatic
#1D061A #501048 #831A76 #B624A4 #D93FC6

Accessibility & contrast

On white

8.84
#831A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#831A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A76
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A76#FFFFFF#000000##FFFFFF
##831A761.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174178
Deuteranopia (green-blind)
#404F74
Tritanopia (blue-blind)
#892547
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831a76;
/* rgb */ color: rgb(131, 26, 118);
/* oklch */ color: oklch(43.2% 0.171 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab649e',
    500: '#831a76',
    950: '#000000',
  },
}
SCSS
$custom: #831a76;
$custom-light: #ab649e;
$custom-dark: #000000;
JSON
{
  "hex": "#831a76",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 307.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.17066,
    "h": 333.9
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#831A76
secondary
#42B751
accent
#EA533E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831A76

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

Preview Lab → · Contrast checker → · Palette generator →

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