#831777#831777

#831777 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.174 H 333.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#831777
RGBrgb(131, 23, 119)
HSLhsl(307, 70%, 30%)
HSVhsv(307, 82%, 51%)
CMYKcmyk(0%, 82.4%, 9.2%, 48.6%)
CIE-LABlab(31.28, 53.80, -28.39)
CIE-LCHlch(31.28, 60.83, 332.18°)
OKLaboklab(43.08% 0.1558 -0.078)
OKLCHoklch(43.08% 0.174 333.4)
XYZxyz(12.9963, 6.7711, 18.0717)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831777 #178323
analogous
#591783 #831777 #831741
triadic
#831777 #778317 #177783
tetradic
#831777 #835917 #178323 #174183
square
#831777 #835917 #178323 #174183
split-complementary
#831777 #418317 #178359
monochromatic
#1B0518 #4F0E48 #831777 #B720A6 #DC38CA

Accessibility & contrast

On white

8.92
#831777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#831777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831777
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831777#FFFFFF#000000##FFFFFF
##8317771.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114079
Deuteranopia (green-blind)
#3E4F75
Tritanopia (blue-blind)
#892447
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831777;
/* rgb */ color: rgb(131, 23, 119);
/* oklch */ color: oklch(43.1% 0.174 333.4);
Tailwind
colors: {
  custom: {
    50: '#ab639e',
    500: '#831777',
    950: '#000000',
  },
}
SCSS
$custom: #831777;
$custom-light: #ab639e;
$custom-dark: #000000;
JSON
{
  "hex": "#831777",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 306.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4308,
    "c": 0.17419,
    "h": 333.4
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#831777
secondary
#3FB74C
accent
#ED4F3B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831777

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

Preview Lab → · Contrast checker → · Palette generator →

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