#831A6E#831A6E

#831A6E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.165 H 337.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#831A6E
RGBrgb(131, 26, 110)
HSLhsl(312, 67%, 31%)
HSVhsv(312, 80%, 51%)
CMYKcmyk(0%, 80.2%, 16%, 48.6%)
CIE-LABlab(31.09, 51.58, -22.96)
CIE-LCHlch(31.09, 56.46, 336.00°)
OKLaboklab(42.79% 0.1527 -0.0624)
OKLCHoklch(42.79% 0.165 337.8)
XYZxyz(12.5442, 6.6911, 15.3797)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A6E #1A832F
analogous
#631A83 #831A6E #831A39
triadic
#831A6E #6E831A #1A6E83
tetradic
#831A6E #83631A #1A832F #1A3983
square
#831A6E #83631A #1A832F #1A3983
split-complementary
#831A6E #39831A #1A8363
monochromatic
#1D0618 #501043 #831A6E #B62499 #D93FBA

Accessibility & contrast

On white

8.98
#831A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#831A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A6E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A6E#FFFFFF#000000##FFFFFF
##831A6E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#8B2143
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831a6e;
/* rgb */ color: rgb(131, 26, 110);
/* oklch */ color: oklch(42.8% 0.165 337.8);
Tailwind
colors: {
  custom: {
    50: '#ab6498',
    500: '#831a6e',
    950: '#000000',
  },
}
SCSS
$custom: #831a6e;
$custom-light: #ab6498;
$custom-dark: #000000;
JSON
{
  "hex": "#831a6e",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 312,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4279,
    "c": 0.16492,
    "h": 337.8
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#831A6E
secondary
#42B759
accent
#EA603E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #831A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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