#831676#831676

#831676 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.174 H 333.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#831676
RGBrgb(131, 22, 118)
HSLhsl(307, 71%, 30%)
HSVhsv(307, 83%, 51%)
CMYKcmyk(0%, 83.2%, 9.9%, 48.6%)
CIE-LABlab(31.13, 53.91, -27.99)
CIE-LCHlch(31.13, 60.74, 332.56°)
OKLaboklab(42.96% 0.1565 -0.0768)
OKLCHoklch(42.96% 0.174 333.8)
XYZxyz(12.9171, 6.7083, 17.7506)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831676 #168323
analogous
#5A1683 #831676 #83163F
triadic
#831676 #768316 #167683
tetradic
#831676 #835A16 #168323 #163F83
square
#831676 #835A16 #168323 #163F83
split-complementary
#831676 #3F8316 #16835A
monochromatic
#1A0418 #4F0D47 #831676 #B71FA5 #DD36C9

Accessibility & contrast

On white

8.97
#831676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831676
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831676#FFFFFF#000000##FFFFFF
##8316761.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F78
Deuteranopia (green-blind)
#3F4F74
Tritanopia (blue-blind)
#892346
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831676;
/* rgb */ color: rgb(131, 22, 118);
/* oklch */ color: oklch(43.0% 0.174 333.8);
Tailwind
colors: {
  custom: {
    50: '#ab639e',
    500: '#831676',
    950: '#000000',
  },
}
SCSS
$custom: #831676;
$custom-light: #ab639e;
$custom-dark: #000000;
JSON
{
  "hex": "#831676",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 307.156,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.17435,
    "h": 333.8
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#831676
secondary
#3DB74C
accent
#EE4F3A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831676

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

Preview Lab → · Contrast checker → · Palette generator →

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