#831877#831877

#831877 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.173 H 333.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#831877
RGBrgb(131, 24, 119)
HSLhsl(307, 69%, 30%)
HSVhsv(307, 82%, 51%)
CMYKcmyk(0%, 81.7%, 9.2%, 48.6%)
CIE-LABlab(31.37, 53.53, -28.25)
CIE-LCHlch(31.37, 60.52, 332.18°)
OKLaboklab(43.15% 0.155 -0.0776)
OKLCHoklch(43.15% 0.173 333.4)
XYZxyz(13.0166, 6.8116, 18.0784)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831877 #188324
analogous
#591883 #831877 #831841
triadic
#831877 #778318 #187783
tetradic
#831877 #835918 #188324 #184183
square
#831877 #835918 #188324 #184183
split-complementary
#831877 #418318 #188359
monochromatic
#1C0519 #4F0F48 #831877 #B721A6 #DB3AC9

Accessibility & contrast

On white

8.89
#831877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#831877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831877
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831877#FFFFFF#000000##FFFFFF
##8318771.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831877;
/* rgb */ color: rgb(131, 24, 119);
/* oklch */ color: oklch(43.1% 0.173 333.4);
Tailwind
colors: {
  custom: {
    50: '#ab639e',
    500: '#831877',
    950: '#000000',
  },
}
SCSS
$custom: #831877;
$custom-light: #ab639e;
$custom-dark: #000000;
JSON
{
  "hex": "#831877",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 306.729,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.1733,
    "h": 333.4
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#831877
secondary
#40B74D
accent
#EC503C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831877

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

Preview Lab → · Contrast checker → · Palette generator →

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