#831984#831984

#831984 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.182 H 327.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#831984
RGBrgb(131, 25, 132)
HSLhsl(299, 68%, 31%)
HSVhsv(299, 81%, 52%)
CMYKcmyk(0.8%, 81.1%, 0%, 48.2%)
CIE-LABlab(32.23, 55.37, -35.05)
CIE-LCHlch(32.23, 65.53, 327.66°)
OKLaboklab(44% 0.1541 -0.0973)
OKLCHoklch(44% 0.182 327.7)
XYZxyz(13.8724, 7.1875, 22.4820)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831984 #1A8419
analogous
#4D1984 #831984 #84194F
triadic
#831984 #848319 #198483
tetradic
#831984 #844D19 #1A8419 #194F84
square
#831984 #844D19 #1A8419 #194F84
split-complementary
#831984 #4F8419 #19844D
monochromatic
#1D061D #500F51 #831984 #B623B7 #D93DDA

Accessibility & contrast

On white

8.62
#831984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#831984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831984
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831984#FFFFFF#000000##FFFFFF
##8319841.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#872C4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831984;
/* rgb */ color: rgb(131, 25, 132);
/* oklch */ color: oklch(44.0% 0.182 327.7);
Tailwind
colors: {
  custom: {
    50: '#ab64a8',
    500: '#831984',
    950: '#000000',
  },
}
SCSS
$custom: #831984;
$custom-light: #ab64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#831984",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 299.439,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44002,
    "c": 0.18223,
    "h": 327.7
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#831984
secondary
#42B841
accent
#EB3D3E
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831984

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

Preview Lab → · Contrast checker → · Palette generator →

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