#831774#831774

#831774 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.172 H 334.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#831774
RGBrgb(131, 23, 116)
HSLhsl(308, 70%, 30%)
HSVhsv(308, 82%, 51%)
CMYKcmyk(0%, 82.4%, 11.5%, 48.6%)
CIE-LABlab(31.11, 53.33, -26.75)
CIE-LCHlch(31.11, 59.67, 333.36°)
OKLaboklab(42.91% 0.1556 -0.0733)
OKLCHoklch(42.91% 0.172 334.8)
XYZxyz(12.8190, 6.7002, 17.1378)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831774 #178326
analogous
#5C1783 #831774 #83173E
triadic
#831774 #748317 #177483
tetradic
#831774 #835C17 #178326 #173E83
square
#831774 #835C17 #178326 #173E83
split-complementary
#831774 #3E8317 #17835C
monochromatic
#1B0518 #4F0E46 #831774 #B720A2 #DC38C5

Accessibility & contrast

On white

8.98
#831774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#831774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##831774#FFFFFF#000000##FFFFFF
##8317741.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)
#163F76
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#8A2245
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831774;
/* rgb */ color: rgb(131, 23, 116);
/* oklch */ color: oklch(42.9% 0.172 334.8);
Tailwind
colors: {
  custom: {
    50: '#ab639c',
    500: '#831774',
    950: '#000000',
  },
}
SCSS
$custom: #831774;
$custom-light: #ab639c;
$custom-dark: #000000;
JSON
{
  "hex": "#831774",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 308.333,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42908,
    "c": 0.17202,
    "h": 334.8
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#831774
secondary
#3FB74F
accent
#ED543B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831774

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

Preview Lab → · Contrast checker → · Palette generator →

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