#831A79#831A79

#831A79 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.173 H 332.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#831A79
RGBrgb(131, 26, 121)
HSLhsl(306, 67%, 31%)
HSVhsv(306, 80%, 51%)
CMYKcmyk(0%, 80.2%, 7.6%, 48.6%)
CIE-LABlab(31.68, 53.27, -29.02)
CIE-LCHlch(31.68, 60.67, 331.42°)
OKLaboklab(43.4% 0.1534 -0.0798)
OKLCHoklch(43.4% 0.173 332.5)
XYZxyz(13.1807, 6.9457, 18.7319)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A79 #1A8324
analogous
#581A83 #831A79 #831A44
triadic
#831A79 #79831A #1A7983
tetradic
#831A79 #83581A #1A8324 #1A4483
square
#831A79 #83581A #1A8324 #1A4483
split-complementary
#831A79 #44831A #1A8358
monochromatic
#1D061B #50104A #831A79 #B624A8 #D93FCA

Accessibility & contrast

On white

8.79
#831A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#831A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A79
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A79#FFFFFF#000000##FFFFFF
##831A791.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831a79;
/* rgb */ color: rgb(131, 26, 121);
/* oklch */ color: oklch(43.4% 0.173 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab64a0',
    500: '#831a79',
    950: '#000000',
  },
}
SCSS
$custom: #831a79;
$custom-light: #ab64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#831a79",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 305.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.1729,
    "h": 332.5
  },
  "luminance": 0.06945
}

Semantic roles & 50–950 ramp

primary
#831A79
secondary
#42B74D
accent
#EA4E3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831A79

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

Preview Lab → · Contrast checker → · Palette generator →

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