#831980#831980

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

Color values

HEX#831980
RGBrgb(131, 25, 128)
HSLhsl(302, 68%, 31%)
HSVhsv(302, 81%, 51%)
CMYKcmyk(0%, 80.9%, 2.3%, 48.6%)
CIE-LABlab(31.99, 54.70, -32.94)
CIE-LCHlch(31.99, 63.85, 328.94°)
OKLaboklab(43.75% 0.1542 -0.0912)
OKLCHoklch(43.75% 0.179 329.4)
XYZxyz(13.6039, 7.0801, 21.0680)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831980 #19831C
analogous
#511983 #831980 #83194B
triadic
#831980 #808319 #198083
tetradic
#831980 #835119 #19831C #194B83
square
#831980 #835119 #19831C #194B83
split-complementary
#831980 #4B8319 #198351
monochromatic
#1C051C #500F4E #831980 #B623B2 #DA3DD5

Accessibility & contrast

On white

8.69
#831980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#831980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831980
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831980#FFFFFF#000000##FFFFFF
##8319801.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024283
Deuteranopia (green-blind)
#3A507E
Tritanopia (blue-blind)
#882A4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831980;
/* rgb */ color: rgb(131, 25, 128);
/* oklch */ color: oklch(43.8% 0.179 329.4);
Tailwind
colors: {
  custom: {
    50: '#ab64a5',
    500: '#831980',
    950: '#000000',
  },
}
SCSS
$custom: #831980;
$custom-light: #ab64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#831980",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 301.698,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.17914,
    "h": 329.4
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#831980
secondary
#41B744
accent
#EB423D
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831980

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

Preview Lab → · Contrast checker → · Palette generator →

#831980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva