#831979#831979

#831979 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.174 H 332.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#831979
RGBrgb(131, 25, 121)
HSLhsl(306, 68%, 31%)
HSVhsv(306, 81%, 51%)
CMYKcmyk(0%, 80.9%, 7.6%, 48.6%)
CIE-LABlab(31.58, 53.56, -29.18)
CIE-LCHlch(31.58, 60.99, 331.42°)
OKLaboklab(43.33% 0.1542 -0.0803)
OKLCHoklch(43.33% 0.174 332.5)
XYZxyz(13.1590, 6.9022, 18.7247)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831979 #198323
analogous
#581983 #831979 #831944
triadic
#831979 #798319 #197983
tetradic
#831979 #835819 #198323 #194483
square
#831979 #835819 #198323 #194483
split-complementary
#831979 #448319 #198358
monochromatic
#1C051A #500F4A #831979 #B623A8 #DA3DCB

Accessibility & contrast

On white

8.82
#831979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#831979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831979
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831979#FFFFFF#000000##FFFFFF
##8319791.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#3E4F77
Tritanopia (blue-blind)
#892649
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831979;
/* rgb */ color: rgb(131, 25, 121);
/* oklch */ color: oklch(43.3% 0.174 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab64a0',
    500: '#831979',
    950: '#000000',
  },
}
SCSS
$custom: #831979;
$custom-light: #ab64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#831979",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 305.66,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43333,
    "c": 0.17384,
    "h": 332.5
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#831979
secondary
#41B74C
accent
#EB4D3D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831979

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

Preview Lab → · Contrast checker → · Palette generator →

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