#831072#831072

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

Color values

HEX#831072
RGBrgb(131, 16, 114)
HSLhsl(309, 78%, 29%)
HSVhsv(309, 88%, 51%)
CMYKcmyk(0%, 87.8%, 13%, 48.6%)
CIE-LABlab(30.43, 54.70, -26.56)
CIE-LCHlch(30.43, 60.81, 334.10°)
OKLaboklab(42.38% 0.1605 -0.0727)
OKLCHoklch(42.38% 0.176 335.6)
XYZxyz(12.5828, 6.4120, 16.4913)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831072 #108321
analogous
#5B1083 #831072 #831039
triadic
#831072 #728310 #107283
tetradic
#831072 #835B10 #108321 #103983
square
#831072 #835B10 #108321 #103983
split-complementary
#831072 #398310 #10835B
monochromatic
#1B0318 #4C0943 #831072 #BA17A1 #E529C9

Accessibility & contrast

On white

9.20
#831072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831072
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831072#FFFFFF#000000##FFFFFF
##8310721.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D74
Deuteranopia (green-blind)
#3F4D70
Tritanopia (blue-blind)
#8A1C43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831072;
/* rgb */ color: rgb(131, 16, 114);
/* oklch */ color: oklch(42.4% 0.176 335.6);
Tailwind
colors: {
  custom: {
    50: '#ab619b',
    500: '#831072',
    950: '#000000',
  },
}
SCSS
$custom: #831072;
$custom-light: #ab619b;
$custom-dark: #000000;
JSON
{
  "hex": "#831072",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 308.87,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.17619,
    "h": 335.6
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#831072
secondary
#36B949
accent
#F55033
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831072

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

Preview Lab → · Contrast checker → · Palette generator →

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