#831571#831571

#831571 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.172 H 336.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#831571
RGBrgb(131, 21, 113)
HSLhsl(310, 72%, 30%)
HSVhsv(310, 84%, 51%)
CMYKcmyk(0%, 84%, 13.7%, 48.6%)
CIE-LABlab(30.77, 53.40, -25.38)
CIE-LCHlch(30.77, 59.13, 334.58°)
OKLaboklab(42.61% 0.157 -0.0693)
OKLCHoklch(42.61% 0.172 336.2)
XYZxyz(12.6091, 6.5551, 16.2208)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831571 #158327
analogous
#5E1583 #831571 #83153A
triadic
#831571 #718315 #157183
tetradic
#831571 #835E15 #158327 #153A83
square
#831571 #835E15 #158327 #153A83
split-complementary
#831571 #3A8315 #15835E
monochromatic
#1A0417 #4E0D44 #831571 #B81D9E #DE34C3

Accessibility & contrast

On white

9.09
#831571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#831571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831571
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831571#FFFFFF#000000##FFFFFF
##8315711.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#8A1F43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831571;
/* rgb */ color: rgb(131, 21, 113);
/* oklch */ color: oklch(42.6% 0.172 336.2);
Tailwind
colors: {
  custom: {
    50: '#ab629a',
    500: '#831571',
    950: '#000000',
  },
}
SCSS
$custom: #831571;
$custom-light: #ab629a;
$custom-dark: #000000;
JSON
{
  "hex": "#831571",
  "rgb": {
    "r": 131,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 309.818,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.17164,
    "h": 336.2
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#831571
secondary
#3CB850
accent
#EF5739
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831571

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

Preview Lab → · Contrast checker → · Palette generator →

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