#831779#831779

#831779 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.176 H 332.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#831779
RGBrgb(131, 23, 121)
HSLhsl(306, 70%, 30%)
HSVhsv(306, 82%, 51%)
CMYKcmyk(0%, 82.4%, 7.6%, 48.6%)
CIE-LABlab(31.39, 54.11, -29.48)
CIE-LCHlch(31.39, 61.62, 331.42°)
OKLaboklab(43.2% 0.1558 -0.0811)
OKLCHoklch(43.2% 0.176 332.5)
XYZxyz(13.1177, 6.8197, 18.7109)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831779 #178321
analogous
#571783 #831779 #831743
triadic
#831779 #798317 #177983
tetradic
#831779 #835717 #178321 #174383
square
#831779 #835717 #178321 #174383
split-complementary
#831779 #438317 #178357
monochromatic
#1B0519 #4F0E49 #831779 #B720A9 #DC38CD

Accessibility & contrast

On white

8.88
#831779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#831779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831779
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831779#FFFFFF#000000##FFFFFF
##8317791.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407C
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#892548
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831779;
/* rgb */ color: rgb(131, 23, 121);
/* oklch */ color: oklch(43.2% 0.176 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab63a0',
    500: '#831779',
    950: '#000000',
  },
}
SCSS
$custom: #831779;
$custom-light: #ab63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#831779",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 305.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43197,
    "c": 0.17566,
    "h": 332.5
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#831779
secondary
#3FB74A
accent
#ED4B3B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #831779

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

Preview Lab → · Contrast checker → · Palette generator →

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