#831573#831573

#831573 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.173 H 335.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#831573
RGBrgb(131, 21, 115)
HSLhsl(309, 72%, 30%)
HSVhsv(309, 84%, 51%)
CMYKcmyk(0%, 84%, 12.2%, 48.6%)
CIE-LABlab(30.88, 53.70, -26.49)
CIE-LCHlch(30.88, 59.88, 333.75°)
OKLaboklab(42.72% 0.1571 -0.0725)
OKLCHoklch(42.72% 0.173 335.2)
XYZxyz(12.7229, 6.6006, 16.8203)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831573 #158325
analogous
#5C1583 #831573 #83153C
triadic
#831573 #738315 #157383
tetradic
#831573 #835C15 #158325 #153C83
square
#831573 #835C15 #158325 #153C83
split-complementary
#831573 #3C8315 #15835C
monochromatic
#1A0417 #4E0D45 #831573 #B81DA1 #DE34C6

Accessibility & contrast

On white

9.05
#831573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#831573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831573
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831573#FFFFFF#000000##FFFFFF
##8315731.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E75
Deuteranopia (green-blind)
#404E71
Tritanopia (blue-blind)
#8A2044
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831573;
/* rgb */ color: rgb(131, 21, 115);
/* oklch */ color: oklch(42.7% 0.173 335.2);
Tailwind
colors: {
  custom: {
    50: '#ab629b',
    500: '#831573',
    950: '#000000',
  },
}
SCSS
$custom: #831573;
$custom-light: #ab629b;
$custom-dark: #000000;
JSON
{
  "hex": "#831573",
  "rgb": {
    "r": 131,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 308.727,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.17305,
    "h": 335.2
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#831573
secondary
#3CB84E
accent
#EF5339
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831573

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

Preview Lab → · Contrast checker → · Palette generator →

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