#831672#831672

#831672 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.171 H 335.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#831672
RGBrgb(131, 22, 114)
HSLhsl(309, 71%, 30%)
HSVhsv(309, 83%, 51%)
CMYKcmyk(0%, 83.2%, 13%, 48.6%)
CIE-LABlab(30.91, 53.30, -25.80)
CIE-LCHlch(30.91, 59.21, 334.17°)
OKLaboklab(42.73% 0.1563 -0.0705)
OKLCHoklch(42.73% 0.171 335.7)
XYZxyz(12.6845, 6.6152, 16.5252)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831672 #168327
analogous
#5E1683 #831672 #83163B
triadic
#831672 #728316 #167283
tetradic
#831672 #835E16 #168327 #163B83
square
#831672 #835E16 #168327 #163B83
split-complementary
#831672 #3B8316 #16835E
monochromatic
#1A0417 #4F0D44 #831672 #B71FA0 #DD36C3

Accessibility & contrast

On white

9.04
#831672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#831672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831672
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831672#FFFFFF#000000##FFFFFF
##8316721.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#404E70
Tritanopia (blue-blind)
#8A2044
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831672;
/* rgb */ color: rgb(131, 22, 114);
/* oklch */ color: oklch(42.7% 0.171 335.7);
Tailwind
colors: {
  custom: {
    50: '#ab639b',
    500: '#831672',
    950: '#000000',
  },
}
SCSS
$custom: #831672;
$custom-light: #ab639b;
$custom-dark: #000000;
JSON
{
  "hex": "#831672",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 309.358,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.17149,
    "h": 335.7
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#831672
secondary
#3DB750
accent
#EE563A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831672

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

Preview Lab → · Contrast checker → · Palette generator →

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