#831972#831972

#831972 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.169 H 335.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#831972
RGBrgb(131, 25, 114)
HSLhsl(310, 68%, 31%)
HSVhsv(310, 81%, 51%)
CMYKcmyk(0%, 80.9%, 13%, 48.6%)
CIE-LABlab(31.20, 52.47, -25.35)
CIE-LCHlch(31.20, 58.28, 334.22°)
OKLaboklab(42.93% 0.1539 -0.0692)
OKLCHoklch(42.93% 0.169 335.8)
XYZxyz(12.7452, 6.7366, 16.5454)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831972 #19832A
analogous
#5F1983 #831972 #83193D
triadic
#831972 #728319 #197283
tetradic
#831972 #835F19 #19832A #193D83
square
#831972 #835F19 #19832A #193D83
split-complementary
#831972 #3D8319 #19835F
monochromatic
#1C0519 #500F45 #831972 #B6239F #DA3DC1

Accessibility & contrast

On white

8.95
#831972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831972
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831972#FFFFFF#000000##FFFFFF
##8319721.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#414F70
Tritanopia (blue-blind)
#8A2245
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831972;
/* rgb */ color: rgb(131, 25, 114);
/* oklch */ color: oklch(42.9% 0.169 335.8);
Tailwind
colors: {
  custom: {
    50: '#ab649b',
    500: '#831972',
    950: '#000000',
  },
}
SCSS
$custom: #831972;
$custom-light: #ab649b;
$custom-dark: #000000;
JSON
{
  "hex": "#831972",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 309.623,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.16873,
    "h": 335.8
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#831972
secondary
#41B754
accent
#EB593D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831972

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

Preview Lab → · Contrast checker → · Palette generator →

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