#831073#831073

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

Color values

HEX#831073
RGBrgb(131, 16, 115)
HSLhsl(308, 78%, 29%)
HSVhsv(308, 88%, 51%)
CMYKcmyk(0%, 87.8%, 12.2%, 48.6%)
CIE-LABlab(30.48, 54.85, -27.11)
CIE-LCHlch(30.48, 61.19, 333.70°)
OKLaboklab(42.44% 0.1606 -0.0743)
OKLCHoklch(42.44% 0.177 335.2)
XYZxyz(12.6401, 6.4349, 16.7927)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831073 #108320
analogous
#5A1083 #831073 #83103A
triadic
#831073 #738310 #107383
tetradic
#831073 #835A10 #108320 #103A83
square
#831073 #835A10 #108320 #103A83
split-complementary
#831073 #3A8310 #10835A
monochromatic
#1B0318 #4C0943 #831073 #BA17A3 #E529CB

Accessibility & contrast

On white

9.18
#831073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#831073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831073
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831073#FFFFFF#000000##FFFFFF
##8310731.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D75
Deuteranopia (green-blind)
#3E4D71
Tritanopia (blue-blind)
#8A1D43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831073;
/* rgb */ color: rgb(131, 16, 115);
/* oklch */ color: oklch(42.4% 0.177 335.2);
Tailwind
colors: {
  custom: {
    50: '#ab619b',
    500: '#831073',
    950: '#000000',
  },
}
SCSS
$custom: #831073;
$custom-light: #ab619b;
$custom-dark: #000000;
JSON
{
  "hex": "#831073",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 308.348,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.17689,
    "h": 335.2
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#831073
secondary
#36B948
accent
#F54E33
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831073

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

Preview Lab → · Contrast checker → · Palette generator →

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