#831673#831673

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

Color values

HEX#831673
RGBrgb(131, 22, 115)
HSLhsl(309, 71%, 30%)
HSVhsv(309, 83%, 51%)
CMYKcmyk(0%, 83.2%, 12.2%, 48.6%)
CIE-LABlab(30.97, 53.45, -26.35)
CIE-LCHlch(30.97, 59.59, 333.76°)
OKLaboklab(42.79% 0.1564 -0.0721)
OKLCHoklch(42.79% 0.172 335.2)
XYZxyz(12.7417, 6.6381, 16.8266)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831673 #168326
analogous
#5C1683 #831673 #83163D
triadic
#831673 #738316 #167383
tetradic
#831673 #835C16 #168326 #163D83
square
#831673 #835C16 #168326 #163D83
split-complementary
#831673 #3D8316 #16835C
monochromatic
#1A0417 #4F0D45 #831673 #B71FA1 #DD36C5

Accessibility & contrast

On white

9.02
#831673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#831673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831673
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831673#FFFFFF#000000##FFFFFF
##8316731.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831673;
/* rgb */ color: rgb(131, 22, 115);
/* oklch */ color: oklch(42.8% 0.172 335.2);
Tailwind
colors: {
  custom: {
    50: '#ab639b',
    500: '#831673',
    950: '#000000',
  },
}
SCSS
$custom: #831673;
$custom-light: #ab639b;
$custom-dark: #000000;
JSON
{
  "hex": "#831673",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 308.807,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.42786,
    "c": 0.17219,
    "h": 335.2
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#831673
secondary
#3DB74F
accent
#EE543A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831673

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

Preview Lab → · Contrast checker → · Palette generator →

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