#831F80#831F80

#831F80 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.173 H 329.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#831F80
RGBrgb(131, 31, 128)
HSLhsl(302, 62%, 32%)
HSVhsv(302, 76%, 51%)
CMYKcmyk(0%, 76.3%, 2.3%, 48.6%)
CIE-LABlab(32.62, 52.87, -31.93)
CIE-LCHlch(32.62, 61.76, 328.87°)
OKLaboklab(44.21% 0.149 -0.0883)
OKLCHoklch(44.21% 0.173 329.3)
XYZxyz(13.7462, 7.3648, 21.1154)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F80 #1F8322
analogous
#541F83 #831F80 #831F4E
triadic
#831F80 #80831F #1F8083
tetradic
#831F80 #83541F #1F8322 #1F4E83
square
#831F80 #83541F #1F8322 #1F4E83
split-complementary
#831F80 #4E831F #1F8354
monochromatic
#20081F #521350 #831F80 #B42BB0 #D449D0

Accessibility & contrast

On white

8.49
#831F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#831F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F80
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F80#FFFFFF#000000##FFFFFF
##831F801.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4483
Deuteranopia (green-blind)
#3D517E
Tritanopia (blue-blind)
#882E4E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #831f80;
/* rgb */ color: rgb(131, 31, 128);
/* oklch */ color: oklch(44.2% 0.173 329.3);
Tailwind
colors: {
  custom: {
    50: '#aa66a5',
    500: '#831f80',
    950: '#000000',
  },
}
SCSS
$custom: #831f80;
$custom-light: #aa66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#831f80",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 301.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.17318,
    "h": 329.3
  },
  "luminance": 0.07364
}

Semantic roles & 50–950 ramp

primary
#831F80
secondary
#48B64B
accent
#E54843
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831F80

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

Preview Lab → · Contrast checker → · Palette generator →

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