#831885#831885

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

Color values

HEX#831885
RGBrgb(131, 24, 133)
HSLhsl(299, 69%, 31%)
HSVhsv(299, 82%, 52%)
CMYKcmyk(1.5%, 82%, 0%, 47.8%)
CIE-LABlab(32.20, 55.81, -35.73)
CIE-LCHlch(32.20, 66.27, 327.37°)
OKLaboklab(44% 0.1548 -0.0993)
OKLCHoklch(44% 0.184 327.3)
XYZxyz(13.9201, 7.1730, 22.8371)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831885 #1A8518
analogous
#4C1885 #831885 #851850
triadic
#831885 #858318 #188583
tetradic
#831885 #854C18 #1A8518 #185085
square
#831885 #854C18 #1A8518 #185085
split-complementary
#831885 #508518 #18854C
monochromatic
#1D051D #500F51 #831885 #B621B9 #D93CDC

Accessibility & contrast

On white

8.63
#831885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#831885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831885
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831885#FFFFFF#000000##FFFFFF
##8318851.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831885;
/* rgb */ color: rgb(131, 24, 133);
/* oklch */ color: oklch(44.0% 0.184 327.3);
Tailwind
colors: {
  custom: {
    50: '#ab64a9',
    500: '#831885',
    950: '#000000',
  },
}
SCSS
$custom: #831885;
$custom-light: #ab64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#831885",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 298.899,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43999,
    "c": 0.18388,
    "h": 327.3
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#831885
secondary
#42B940
accent
#EC3C3F
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831885

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

Preview Lab → · Contrast checker → · Palette generator →

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