#831D66#831D66

#831D66 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.156 H 342.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#831D66
RGBrgb(131, 29, 102)
HSLhsl(317, 64%, 31%)
HSVhsv(317, 78%, 51%)
CMYKcmyk(0%, 77.9%, 22.1%, 48.6%)
CIE-LABlab(31.03, 49.49, -17.93)
CIE-LCHlch(31.03, 52.63, 340.09°)
OKLaboklab(42.62% 0.1487 -0.0481)
OKLCHoklch(42.62% 0.156 342.1)
XYZxyz(12.1981, 6.6646, 13.2118)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D66 #1D833A
analogous
#6D1D83 #831D66 #831D33
triadic
#831D66 #66831D #1D6683
tetradic
#831D66 #836D1D #1D833A #1D3383
square
#831D66 #836D1D #1D833A #1D3383
split-complementary
#831D66 #33831D #1D836D
monochromatic
#1F0718 #51123F #831D66 #B5288D #D645AC

Accessibility & contrast

On white

9.00
#831D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#831D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D66
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D66#FFFFFF#000000##FFFFFF
##831D661.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E68
Deuteranopia (green-blind)
#474F64
Tritanopia (blue-blind)
#8C1E3F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831d66;
/* rgb */ color: rgb(131, 29, 102);
/* oklch */ color: oklch(42.6% 0.156 342.1);
Tailwind
colors: {
  custom: {
    50: '#ab6591',
    500: '#831d66',
    950: '#000000',
  },
}
SCSS
$custom: #831d66;
$custom-light: #ab6591;
$custom-dark: #000000;
JSON
{
  "hex": "#831d66",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 317.059,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42618,
    "c": 0.15631,
    "h": 342.1
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#831D66
secondary
#46B666
accent
#E77041
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #831D66

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

Preview Lab → · Contrast checker → · Palette generator →

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