#831471#831471

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

Color values

HEX#831471
RGBrgb(131, 20, 113)
HSLhsl(310, 74%, 30%)
HSVhsv(310, 85%, 51%)
CMYKcmyk(0%, 84.7%, 13.7%, 48.6%)
CIE-LABlab(30.69, 53.65, -25.52)
CIE-LCHlch(30.69, 59.41, 334.56°)
OKLaboklab(42.55% 0.1578 -0.0697)
OKLCHoklch(42.55% 0.172 336.2)
XYZxyz(12.5911, 6.5191, 16.2148)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831471 #148326
analogous
#5E1483 #831471 #831439
triadic
#831471 #718314 #147183
tetradic
#831471 #835E14 #148326 #143983
square
#831471 #835E14 #148326 #143983
split-complementary
#831471 #398314 #14835E
monochromatic
#1B0417 #4E0C43 #831471 #B81C9F #E032C3

Accessibility & contrast

On white

9.12
#831471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831471
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831471#FFFFFF#000000##FFFFFF
##8314711.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#8A1E43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831471;
/* rgb */ color: rgb(131, 20, 113);
/* oklch */ color: oklch(42.5% 0.172 336.2);
Tailwind
colors: {
  custom: {
    50: '#ab629a',
    500: '#831471',
    950: '#000000',
  },
}
SCSS
$custom: #831471;
$custom-light: #ab629a;
$custom-dark: #000000;
JSON
{
  "hex": "#831471",
  "rgb": {
    "r": 131,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 309.73,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.17247,
    "h": 336.2
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#831471
secondary
#3BB84F
accent
#F05638
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831471

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

Preview Lab → · Contrast checker → · Palette generator →

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