#831A80#831A80

#831A80 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.178 H 329.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#831A80
RGBrgb(131, 26, 128)
HSLhsl(302, 67%, 31%)
HSVhsv(302, 80%, 51%)
CMYKcmyk(0%, 80.2%, 2.3%, 48.6%)
CIE-LABlab(32.09, 54.41, -32.78)
CIE-LCHlch(32.09, 63.53, 328.93°)
OKLaboklab(43.82% 0.1534 -0.0907)
OKLCHoklch(43.82% 0.178 329.4)
XYZxyz(13.6257, 7.1237, 21.0752)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A80 #1A831D
analogous
#511A83 #831A80 #831A4B
triadic
#831A80 #80831A #1A8083
tetradic
#831A80 #83511A #1A831D #1A4B83
square
#831A80 #83511A #1A831D #1A4B83
split-complementary
#831A80 #4B831A #1A8351
monochromatic
#1D061C #50104E #831A80 #B624B2 #D93FD4

Accessibility & contrast

On white

8.66
#831A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#831A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A80
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A80#FFFFFF#000000##FFFFFF
##831A801.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044383
Deuteranopia (green-blind)
#3B507E
Tritanopia (blue-blind)
#882B4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831a80;
/* rgb */ color: rgb(131, 26, 128);
/* oklch */ color: oklch(43.8% 0.178 329.4);
Tailwind
colors: {
  custom: {
    50: '#ab65a5',
    500: '#831a80',
    950: '#000000',
  },
}
SCSS
$custom: #831a80;
$custom-light: #ab65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#831a80",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 301.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43823,
    "c": 0.17821,
    "h": 329.4
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#831A80
secondary
#42B745
accent
#EA433E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831A80

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

Preview Lab → · Contrast checker → · Palette generator →

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