#831773#831773

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

Color values

HEX#831773
RGBrgb(131, 23, 115)
HSLhsl(309, 70%, 30%)
HSVhsv(309, 82%, 51%)
CMYKcmyk(0%, 82.4%, 12.2%, 48.6%)
CIE-LABlab(31.06, 53.18, -26.20)
CIE-LCHlch(31.06, 59.29, 333.77°)
OKLaboklab(42.85% 0.1556 -0.0717)
OKLCHoklch(42.85% 0.171 335.3)
XYZxyz(12.7612, 6.6771, 16.8331)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831773 #178327
analogous
#5D1783 #831773 #83173D
triadic
#831773 #738317 #177383
tetradic
#831773 #835D17 #178327 #173D83
square
#831773 #835D17 #178327 #173D83
split-complementary
#831773 #3D8317 #17835D
monochromatic
#1B0518 #4F0E45 #831773 #B720A1 #DC38C4

Accessibility & contrast

On white

8.99
#831773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#831773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831773
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831773#FFFFFF#000000##FFFFFF
##8317731.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F75
Deuteranopia (green-blind)
#404F71
Tritanopia (blue-blind)
#8A2145
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831773;
/* rgb */ color: rgb(131, 23, 115);
/* oklch */ color: oklch(42.9% 0.171 335.3);
Tailwind
colors: {
  custom: {
    50: '#ab639b',
    500: '#831773',
    950: '#000000',
  },
}
SCSS
$custom: #831773;
$custom-light: #ab639b;
$custom-dark: #000000;
JSON
{
  "hex": "#831773",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 308.889,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42852,
    "c": 0.17131,
    "h": 335.3
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#831773
secondary
#3FB750
accent
#ED553B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831773

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

Preview Lab → · Contrast checker → · Palette generator →

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