#831071#831071

#831071 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.176 H 336.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#831071
RGBrgb(131, 16, 113)
HSLhsl(309, 78%, 29%)
HSVhsv(309, 88%, 51%)
CMYKcmyk(0%, 87.8%, 13.7%, 48.6%)
CIE-LABlab(30.37, 54.56, -26.01)
CIE-LCHlch(30.37, 60.44, 334.51°)
OKLaboklab(42.33% 0.1605 -0.0711)
OKLCHoklch(42.33% 0.176 336.1)
XYZxyz(12.5262, 6.3893, 16.1932)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831071 #108322
analogous
#5C1083 #831071 #831038
triadic
#831071 #718310 #107183
tetradic
#831071 #835C10 #108322 #103883
square
#831071 #835C10 #108322 #103883
split-complementary
#831071 #388310 #10835C
monochromatic
#1B0318 #4C0942 #831071 #BA17A0 #E529C7

Accessibility & contrast

On white

9.22
#831071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#831071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831071
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831071#FFFFFF#000000##FFFFFF
##8310711.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#8A1C42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831071;
/* rgb */ color: rgb(131, 16, 113);
/* oklch */ color: oklch(42.3% 0.176 336.1);
Tailwind
colors: {
  custom: {
    50: '#ab619a',
    500: '#831071',
    950: '#000000',
  },
}
SCSS
$custom: #831071;
$custom-light: #ab619a;
$custom-dark: #000000;
JSON
{
  "hex": "#831071",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 309.391,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.17551,
    "h": 336.1
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#831071
secondary
#36B94A
accent
#F55133
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831071

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

Preview Lab → · Contrast checker → · Palette generator →

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