#832173#832173

#832173 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.161 H 335.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#832173
RGBrgb(131, 33, 115)
HSLhsl(310, 60%, 32%)
HSVhsv(310, 75%, 51%)
CMYKcmyk(0%, 74.8%, 12.2%, 48.6%)
CIE-LABlab(32.15, 50.06, -24.49)
CIE-LCHlch(32.15, 55.73, 333.93°)
OKLaboklab(43.64% 0.1463 -0.0669)
OKLCHoklch(43.64% 0.161 335.4)
XYZxyz(12.9986, 7.1520, 16.9122)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832173 #218331
analogous
#622183 #832173 #832142
triadic
#832173 #738321 #217383
tetradic
#832173 #836221 #218331 #214283
square
#832173 #836221 #218331 #214283
split-complementary
#832173 #428321 #218362
monochromatic
#21081D #521548 #832173 #B42D9E #D24CBC

Accessibility & contrast

On white

8.64
#832173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#832173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832173
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832173#FFFFFF#000000##FFFFFF
##8321731.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214275
Deuteranopia (green-blind)
#445171
Tritanopia (blue-blind)
#8A2847
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #832173;
/* rgb */ color: rgb(131, 33, 115);
/* oklch */ color: oklch(43.6% 0.161 335.4);
Tailwind
colors: {
  custom: {
    50: '#aa679b',
    500: '#832173',
    950: '#000000',
  },
}
SCSS
$custom: #832173;
$custom-light: #aa679b;
$custom-dark: #000000;
JSON
{
  "hex": "#832173",
  "rgb": {
    "r": 131,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 309.796,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.16088,
    "h": 335.4
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#832173
secondary
#4BB55C
accent
#E35F45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #832173

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

Preview Lab → · Contrast checker → · Palette generator →

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