#831A72#831A72

#831A72 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.168 H 335.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#831A72
RGBrgb(131, 26, 114)
HSLhsl(310, 67%, 31%)
HSVhsv(310, 80%, 51%)
CMYKcmyk(0%, 80.2%, 13%, 48.6%)
CIE-LABlab(31.30, 52.18, -25.19)
CIE-LCHlch(31.30, 57.94, 334.23°)
OKLaboklab(43.01% 0.153 -0.0688)
OKLCHoklch(43.01% 0.168 335.8)
XYZxyz(12.7669, 6.7802, 16.5526)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A72 #1A832B
analogous
#5F1A83 #831A72 #831A3D
triadic
#831A72 #72831A #1A7283
tetradic
#831A72 #835F1A #1A832B #1A3D83
square
#831A72 #835F1A #1A832B #1A3D83
split-complementary
#831A72 #3D831A #1A835F
monochromatic
#1D0619 #501046 #831A72 #B6249E #D93FC0

Accessibility & contrast

On white

8.91
#831A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#831A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A72
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A72#FFFFFF#000000##FFFFFF
##831A721.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4074
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#8A2345
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831a72;
/* rgb */ color: rgb(131, 26, 114);
/* oklch */ color: oklch(43.0% 0.168 335.8);
Tailwind
colors: {
  custom: {
    50: '#ab649b',
    500: '#831a72',
    950: '#000000',
  },
}
SCSS
$custom: #831a72;
$custom-light: #ab649b;
$custom-dark: #000000;
JSON
{
  "hex": "#831a72",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 309.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43007,
    "c": 0.16775,
    "h": 335.8
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#831A72
secondary
#42B755
accent
#EA5A3E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831A72

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

Preview Lab → · Contrast checker → · Palette generator →

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