#831372#831372

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

Color values

HEX#831372
RGBrgb(131, 19, 114)
HSLhsl(309, 75%, 29%)
HSVhsv(309, 85%, 51%)
CMYKcmyk(0%, 85.5%, 13%, 48.6%)
CIE-LABlab(30.66, 54.04, -26.20)
CIE-LCHlch(30.66, 60.06, 334.14°)
OKLaboklab(42.55% 0.1585 -0.0716)
OKLCHoklch(42.55% 0.174 335.7)
XYZxyz(12.6304, 6.5071, 16.5071)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831372 #138324
analogous
#5C1383 #831372 #83133A
triadic
#831372 #728313 #137283
tetradic
#831372 #835C13 #138324 #133A83
square
#831372 #835C13 #138324 #133A83
split-complementary
#831372 #3A8313 #13835C
monochromatic
#1B0417 #4E0B43 #831372 #B81BA1 #E12FC6

Accessibility & contrast

On white

9.13
#831372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831372
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831372#FFFFFF#000000##FFFFFF
##8313721.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#8A1E43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831372;
/* rgb */ color: rgb(131, 19, 114);
/* oklch */ color: oklch(42.5% 0.174 335.7);
Tailwind
colors: {
  custom: {
    50: '#ab629b',
    500: '#831372',
    950: '#000000',
  },
}
SCSS
$custom: #831372;
$custom-light: #ab629b;
$custom-dark: #000000;
JSON
{
  "hex": "#831372",
  "rgb": {
    "r": 131,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 309.107,
    "s": 74.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.17397,
    "h": 335.7
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#831372
secondary
#3AB84D
accent
#F15337
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831372

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

Preview Lab → · Contrast checker → · Palette generator →

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