#831879#831879

#831879 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.175 H 332.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#831879
RGBrgb(131, 24, 121)
HSLhsl(306, 69%, 30%)
HSVhsv(306, 82%, 51%)
CMYKcmyk(0%, 81.7%, 7.6%, 48.6%)
CIE-LABlab(31.49, 53.84, -29.33)
CIE-LCHlch(31.49, 61.31, 331.42°)
OKLaboklab(43.26% 0.155 -0.0807)
OKLCHoklch(43.26% 0.175 332.5)
XYZxyz(13.1380, 6.8602, 18.7177)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831879 #188322
analogous
#571883 #831879 #831844
triadic
#831879 #798318 #187983
tetradic
#831879 #835718 #188322 #184483
square
#831879 #835718 #188322 #184483
split-complementary
#831879 #448318 #188357
monochromatic
#1C0519 #4F0F49 #831879 #B721A9 #DB3ACC

Accessibility & contrast

On white

8.85
#831879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831879
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831879#FFFFFF#000000##FFFFFF
##8318791.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417C
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#892548
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831879;
/* rgb */ color: rgb(131, 24, 121);
/* oklch */ color: oklch(43.3% 0.175 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab64a0',
    500: '#831879',
    950: '#000000',
  },
}
SCSS
$custom: #831879;
$custom-light: #ab64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#831879",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 305.607,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.17477,
    "h": 332.5
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#831879
secondary
#40B74B
accent
#EC4C3C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831879

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

Preview Lab → · Contrast checker → · Palette generator →

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