#831B79#831B79

#831B79 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.172 H 332.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#831B79
RGBrgb(131, 27, 121)
HSLhsl(306, 66%, 31%)
HSVhsv(306, 79%, 51%)
CMYKcmyk(0%, 79.4%, 7.6%, 48.6%)
CIE-LABlab(31.79, 52.98, -28.86)
CIE-LCHlch(31.79, 60.33, 331.42°)
OKLaboklab(43.48% 0.1525 -0.0794)
OKLCHoklch(43.48% 0.172 332.5)
XYZxyz(13.2033, 6.9908, 18.7394)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B79 #1B8325
analogous
#591B83 #831B79 #831B45
triadic
#831B79 #79831B #1B7983
tetradic
#831B79 #83591B #1B8325 #1B4583
square
#831B79 #83591B #1B8325 #1B4583
split-complementary
#831B79 #45831B #1B8359
monochromatic
#1E061B #50114A #831B79 #B625A8 #D841C9

Accessibility & contrast

On white

8.76
#831B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#831B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B79
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B79#FFFFFF#000000##FFFFFF
##831B791.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#892749
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831b79;
/* rgb */ color: rgb(131, 27, 121);
/* oklch */ color: oklch(43.5% 0.172 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab65a0',
    500: '#831b79',
    950: '#000000',
  },
}
SCSS
$custom: #831b79;
$custom-light: #ab65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#831b79",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 305.769,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43478,
    "c": 0.17191,
    "h": 332.5
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#831B79
secondary
#43B64E
accent
#E94F3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831B79

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

Preview Lab → · Contrast checker → · Palette generator →

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