#831C83#831C83

#831C83 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.179 H 328.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#831C83
RGBrgb(131, 28, 131)
HSLhsl(300, 65%, 31%)
HSVhsv(300, 79%, 51%)
CMYKcmyk(0%, 78.6%, 0%, 48.6%)
CIE-LABlab(32.47, 54.33, -34.05)
CIE-LCHlch(32.47, 64.11, 327.92°)
OKLaboklab(44.15% 0.1516 -0.0944)
OKLCHoklch(44.15% 0.179 328.1)
XYZxyz(13.8719, 7.2955, 22.1459)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C83 #1C831C
analogous
#4F1C83 #831C83 #831C4F
triadic
#831C83 #83831C #1C8383
tetradic
#831C83 #834F1C #1C831C #1C4F83
square
#831C83 #834F1C #1C831C #1C4F83
split-complementary
#831C83 #4F831C #1C834F
monochromatic
#1E061E #511151 #831C83 #B527B5 #D743D7

Accessibility & contrast

On white

8.54
#831C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#831C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C83
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C83#FFFFFF#000000##FFFFFF
##831C831.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014486
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#872D4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831c83;
/* rgb */ color: rgb(131, 28, 131);
/* oklch */ color: oklch(44.2% 0.179 328.1);
Tailwind
colors: {
  custom: {
    50: '#ab65a7',
    500: '#831c83',
    950: '#000000',
  },
}
SCSS
$custom: #831c83;
$custom-light: #ab65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#831c83",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 300,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44154,
    "c": 0.17863,
    "h": 328.1
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#831C83
secondary
#45B645
accent
#E84040
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831C83

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

Preview Lab → · Contrast checker → · Palette generator →

#831C83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva