#831976#831976

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

Color values

HEX#831976
RGBrgb(131, 25, 118)
HSLhsl(307, 68%, 31%)
HSVhsv(307, 81%, 51%)
CMYKcmyk(0%, 80.9%, 9.9%, 48.6%)
CIE-LABlab(31.42, 53.09, -27.55)
CIE-LCHlch(31.42, 59.81, 332.58°)
OKLaboklab(43.16% 0.1541 -0.0756)
OKLCHoklch(43.16% 0.172 333.9)
XYZxyz(12.9778, 6.8297, 17.7708)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831976 #198326
analogous
#5B1983 #831976 #831941
triadic
#831976 #768319 #197683
tetradic
#831976 #835B19 #198326 #194183
square
#831976 #835B19 #198326 #194183
split-complementary
#831976 #418319 #19835B
monochromatic
#1C0519 #500F48 #831976 #B623A4 #DA3DC7

Accessibility & contrast

On white

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

On black

2.37
#831976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##831976#FFFFFF#000000##FFFFFF
##8319761.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#3F4F74
Tritanopia (blue-blind)
#892447
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831976;
/* rgb */ color: rgb(131, 25, 118);
/* oklch */ color: oklch(43.2% 0.172 333.9);
Tailwind
colors: {
  custom: {
    50: '#ab649e',
    500: '#831976',
    950: '#000000',
  },
}
SCSS
$custom: #831976;
$custom-light: #ab649e;
$custom-dark: #000000;
JSON
{
  "hex": "#831976",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 307.358,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43159,
    "c": 0.17162,
    "h": 333.9
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#831976
secondary
#41B74F
accent
#EB523D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831976

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

Preview Lab → · Contrast checker → · Palette generator →

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