#832781#832781

#832781 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.165 H 328.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#832781
RGBrgb(131, 39, 129)
HSLhsl(301, 54%, 33%)
HSVhsv(301, 70%, 51%)
CMYKcmyk(0%, 70.2%, 1.5%, 48.6%)
CIE-LABlab(33.69, 50.16, -30.86)
CIE-LCHlch(33.69, 58.89, 328.40°)
OKLaboklab(44.99% 0.1408 -0.0853)
OKLCHoklch(44.99% 0.165 328.8)
XYZxyz(14.0479, 7.8623, 21.5423)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832781 #278329
analogous
#572783 #832781 #832753
triadic
#832781 #818327 #278183
tetradic
#832781 #835727 #278329 #275383
square
#832781 #835727 #278329 #275383
split-complementary
#832781 #538327 #278357
monochromatic
#250B24 #541953 #832781 #B235AF #CD57CB

Accessibility & contrast

On white

8.16
#832781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#832781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832781
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832781#FFFFFF#000000##FFFFFF
##8327811.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4784
Deuteranopia (green-blind)
#40547F
Tritanopia (blue-blind)
#873351
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #832781;
/* rgb */ color: rgb(131, 39, 129);
/* oklch */ color: oklch(45.0% 0.165 328.8);
Tailwind
colors: {
  custom: {
    50: '#aa6aa6',
    500: '#832781',
    950: '#000000',
  },
}
SCSS
$custom: #832781;
$custom-light: #aa6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#832781",
  "rgb": {
    "r": 131,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 301.304,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.16458,
    "h": 328.8
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#832781
secondary
#54B256
accent
#DD4E4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #832781

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

Preview Lab → · Contrast checker → · Palette generator →

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