#831F76#831F76

#831F76 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.165 H 333.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#831F76
RGBrgb(131, 31, 118)
HSLhsl(308, 62%, 32%)
HSVhsv(308, 76%, 51%)
CMYKcmyk(0%, 76.3%, 9.9%, 48.6%)
CIE-LABlab(32.07, 51.23, -26.52)
CIE-LCHlch(32.07, 57.69, 332.63°)
OKLaboklab(43.63% 0.1486 -0.0727)
OKLCHoklch(43.63% 0.165 333.9)
XYZxyz(13.1202, 7.1144, 17.8182)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F76 #1F832C
analogous
#5E1F83 #831F76 #831F44
triadic
#831F76 #76831F #1F7683
tetradic
#831F76 #835E1F #1F832C #1F4483
square
#831F76 #835E1F #1F832C #1F4483
split-complementary
#831F76 #44831F #1F835E
monochromatic
#20081D #521349 #831F76 #B42BA3 #D449C2

Accessibility & contrast

On white

8.67
#831F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#831F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F76
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F76#FFFFFF#000000##FFFFFF
##831F761.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#425174
Tritanopia (blue-blind)
#892948
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831f76;
/* rgb */ color: rgb(131, 31, 118);
/* oklch */ color: oklch(43.6% 0.165 333.9);
Tailwind
colors: {
  custom: {
    50: '#aa669e',
    500: '#831f76',
    950: '#000000',
  },
}
SCSS
$custom: #831f76;
$custom-light: #aa669e;
$custom-dark: #000000;
JSON
{
  "hex": "#831f76",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 307.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43626,
    "c": 0.16543,
    "h": 333.9
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#831F76
secondary
#48B656
accent
#E55843
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831F76

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

Preview Lab → · Contrast checker → · Palette generator →

#831F76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva