#831576#831576

#831576 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 333.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#831576
RGBrgb(131, 21, 118)
HSLhsl(307, 72%, 30%)
HSVhsv(307, 84%, 51%)
CMYKcmyk(0%, 84%, 9.9%, 48.6%)
CIE-LABlab(31.05, 54.16, -28.13)
CIE-LCHlch(31.05, 61.03, 332.55°)
OKLaboklab(42.89% 0.1573 -0.0772)
OKLCHoklch(42.89% 0.175 333.8)
XYZxyz(12.8984, 6.6708, 17.7443)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831576 #158322
analogous
#591583 #831576 #83153F
triadic
#831576 #768315 #157683
tetradic
#831576 #835915 #158322 #153F83
square
#831576 #835915 #158322 #153F83
split-complementary
#831576 #3F8315 #158359
monochromatic
#1A0418 #4E0D46 #831576 #B81DA6 #DE34CA

Accessibility & contrast

On white

9.00
#831576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#831576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831576
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831576#FFFFFF#000000##FFFFFF
##8315761.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103F78
Deuteranopia (green-blind)
#3E4F74
Tritanopia (blue-blind)
#892246
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831576;
/* rgb */ color: rgb(131, 21, 118);
/* oklch */ color: oklch(42.9% 0.175 333.8);
Tailwind
colors: {
  custom: {
    50: '#ab629e',
    500: '#831576',
    950: '#000000',
  },
}
SCSS
$custom: #831576;
$custom-light: #ab629e;
$custom-dark: #000000;
JSON
{
  "hex": "#831576",
  "rgb": {
    "r": 131,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 307.091,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42894,
    "c": 0.17519,
    "h": 333.8
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#831576
secondary
#3CB84B
accent
#EF4E39
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831576

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

Preview Lab → · Contrast checker → · Palette generator →

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