#831A77#831A77

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

Color values

HEX#831A77
RGBrgb(131, 26, 119)
HSLhsl(307, 67%, 31%)
HSVhsv(307, 80%, 51%)
CMYKcmyk(0%, 80.2%, 9.2%, 48.6%)
CIE-LABlab(31.57, 52.96, -27.93)
CIE-LCHlch(31.57, 59.87, 332.19°)
OKLaboklab(43.29% 0.1533 -0.0767)
OKLCHoklch(43.29% 0.171 333.4)
XYZxyz(13.0593, 6.8971, 18.0927)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A77 #1A8326
analogous
#5A1A83 #831A77 #831A42
triadic
#831A77 #77831A #1A7783
tetradic
#831A77 #835A1A #1A8326 #1A4283
square
#831A77 #835A1A #1A8326 #1A4283
split-complementary
#831A77 #42831A #1A835A
monochromatic
#1D061A #501049 #831A77 #B624A5 #D93FC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831A77#FFFFFF#000000##FFFFFF
##831A771.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)
#154179
Deuteranopia (green-blind)
#3F5075
Tritanopia (blue-blind)
#892648
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831a77;
/* rgb */ color: rgb(131, 26, 119);
/* oklch */ color: oklch(43.3% 0.171 333.4);
Tailwind
colors: {
  custom: {
    50: '#ab649e',
    500: '#831a77',
    950: '#000000',
  },
}
SCSS
$custom: #831a77;
$custom-light: #ab649e;
$custom-dark: #000000;
JSON
{
  "hex": "#831a77",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 306.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43288,
    "c": 0.1714,
    "h": 333.4
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#831A77
secondary
#42B74F
accent
#EA523E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831A77

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

Preview Lab → · Contrast checker → · Palette generator →

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