#831985#831985

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

Color values

HEX#831985
RGBrgb(131, 25, 133)
HSLhsl(299, 68%, 31%)
HSVhsv(299, 81%, 52%)
CMYKcmyk(1.5%, 81.2%, 0%, 47.8%)
CIE-LABlab(32.29, 55.53, -35.58)
CIE-LCHlch(32.29, 65.96, 327.35°)
OKLaboklab(44.07% 0.154 -0.0989)
OKLCHoklch(44.07% 0.183 327.3)
XYZxyz(13.9411, 7.2150, 22.8441)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831985 #1B8519
analogous
#4D1985 #831985 #851951
triadic
#831985 #858319 #198583
tetradic
#831985 #854D19 #1B8519 #195185
square
#831985 #854D19 #1B8519 #195185
split-complementary
#831985 #518519 #19854D
monochromatic
#1E061E #500F51 #831985 #B623B9 #D83EDB

Accessibility & contrast

On white

8.60
#831985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831985
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831985#FFFFFF#000000##FFFFFF
##8319851.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831985;
/* rgb */ color: rgb(131, 25, 133);
/* oklch */ color: oklch(44.1% 0.183 327.3);
Tailwind
colors: {
  custom: {
    50: '#ab64a9',
    500: '#831985',
    950: '#000000',
  },
}
SCSS
$custom: #831985;
$custom-light: #ab64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#831985",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 298.889,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.44066,
    "c": 0.18301,
    "h": 327.3
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#831985
secondary
#43B941
accent
#EB3D40
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #831985

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

Preview Lab → · Contrast checker → · Palette generator →

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