#831973#831973

#831973 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.169 H 335.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#831973
RGBrgb(131, 25, 115)
HSLhsl(309, 68%, 31%)
HSVhsv(309, 81%, 51%)
CMYKcmyk(0%, 80.9%, 12.2%, 48.6%)
CIE-LABlab(31.25, 52.63, -25.90)
CIE-LCHlch(31.25, 58.65, 333.80°)
OKLaboklab(42.99% 0.1539 -0.0708)
OKLCHoklch(42.99% 0.169 335.3)
XYZxyz(12.8024, 6.7595, 16.8468)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831973 #198329
analogous
#5E1983 #831973 #83193E
triadic
#831973 #738319 #197383
tetradic
#831973 #835E19 #198329 #193E83
square
#831973 #835E19 #198329 #193E83
split-complementary
#831973 #3E8319 #19835E
monochromatic
#1C0519 #500F46 #831973 #B623A0 #DA3DC2

Accessibility & contrast

On white

8.93
#831973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#831973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831973
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831973#FFFFFF#000000##FFFFFF
##8319731.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194075
Deuteranopia (green-blind)
#414F71
Tritanopia (blue-blind)
#8A2345
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831973;
/* rgb */ color: rgb(131, 25, 115);
/* oklch */ color: oklch(43.0% 0.169 335.3);
Tailwind
colors: {
  custom: {
    50: '#ab649b',
    500: '#831973',
    950: '#000000',
  },
}
SCSS
$custom: #831973;
$custom-light: #ab649b;
$custom-dark: #000000;
JSON
{
  "hex": "#831973",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 309.057,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.16944,
    "h": 335.3
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#831973
secondary
#41B753
accent
#EB573D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831973

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

Preview Lab → · Contrast checker → · Palette generator →

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