#831479#831479

#831479 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.178 H 332.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#831479
RGBrgb(131, 20, 121)
HSLhsl(305, 74%, 30%)
HSVhsv(305, 85%, 51%)
CMYKcmyk(0%, 84.7%, 7.6%, 48.6%)
CIE-LABlab(31.13, 54.87, -29.90)
CIE-LCHlch(31.13, 62.49, 331.42°)
OKLaboklab(43.01% 0.158 -0.0823)
OKLCHoklch(43.01% 0.178 332.5)
XYZxyz(13.0615, 6.7072, 18.6922)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831479 #14831E
analogous
#551483 #831479 #831442
triadic
#831479 #798314 #147983
tetradic
#831479 #835514 #14831E #144283
square
#831479 #835514 #14831E #144283
split-complementary
#831479 #428314 #148355
monochromatic
#1B0419 #4E0C48 #831479 #B81CAA #E032D0

Accessibility & contrast

On white

8.97
#831479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831479
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831479#FFFFFF#000000##FFFFFF
##8314791.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7C
Deuteranopia (green-blind)
#3C4F77
Tritanopia (blue-blind)
#892348
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831479;
/* rgb */ color: rgb(131, 20, 121);
/* oklch */ color: oklch(43.0% 0.178 332.5);
Tailwind
colors: {
  custom: {
    50: '#ab62a0',
    500: '#831479',
    950: '#000000',
  },
}
SCSS
$custom: #831479;
$custom-light: #ab62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#831479",
  "rgb": {
    "r": 131,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 305.405,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4301,
    "c": 0.17818,
    "h": 332.5
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#831479
secondary
#3BB846
accent
#F04838
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #831479

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

Preview Lab → · Contrast checker → · Palette generator →

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