#831977#831977

#831977 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.172 H 333.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#831977
RGBrgb(131, 25, 119)
HSLhsl(307, 68%, 31%)
HSVhsv(307, 81%, 51%)
CMYKcmyk(0%, 80.9%, 9.2%, 48.6%)
CIE-LABlab(31.47, 53.25, -28.09)
CIE-LCHlch(31.47, 60.20, 332.18°)
OKLaboklab(43.22% 0.1541 -0.0771)
OKLCHoklch(43.22% 0.172 333.4)
XYZxyz(13.0376, 6.8536, 18.0854)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831977 #198325
analogous
#5A1983 #831977 #831942
triadic
#831977 #778319 #197783
tetradic
#831977 #835A19 #198325 #194283
square
#831977 #835A19 #198325 #194283
split-complementary
#831977 #428319 #19835A
monochromatic
#1C051A #500F48 #831977 #B623A6 #DA3DC8

Accessibility & contrast

On white

8.86
#831977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#831977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831977
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831977#FFFFFF#000000##FFFFFF
##8319771.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144079
Deuteranopia (green-blind)
#3F4F75
Tritanopia (blue-blind)
#892547
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831977;
/* rgb */ color: rgb(131, 25, 119);
/* oklch */ color: oklch(43.2% 0.172 333.4);
Tailwind
colors: {
  custom: {
    50: '#ab649e',
    500: '#831977',
    950: '#000000',
  },
}
SCSS
$custom: #831977;
$custom-light: #ab649e;
$custom-dark: #000000;
JSON
{
  "hex": "#831977",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 306.792,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.17236,
    "h": 333.4
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#831977
secondary
#41B74E
accent
#EB513D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831977

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

Preview Lab → · Contrast checker → · Palette generator →

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