#80319D#80319D

#80319D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.176 H 315.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#80319D
RGBrgb(128, 49, 157)
HSLhsl(284, 52%, 40%)
HSVhsv(284, 69%, 62%)
CMYKcmyk(18.5%, 68.8%, 0%, 38.4%)
CIE-LABlab(36.41, 50.68, -43.75)
CIE-LCHlch(36.41, 66.95, 319.20°)
OKLaboklab(47.39% 0.1253 -0.123)
OKLCHoklch(47.39% 0.176 315.5)
XYZxyz(16.0852, 9.2207, 32.8242)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80319D #4E9D31
analogous
#4A319D #80319D #9D3184
triadic
#80319D #9D8031 #319D80
tetradic
#80319D #9D4A31 #4E9D31 #31849D
square
#80319D #9D4A31 #4E9D31 #31849D
split-complementary
#80319D #849D31 #319D4A
monochromatic
#341440 #5A226E #80319D #A346C5 #BA75D4

Accessibility & contrast

On white

7.38
#80319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#80319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80319D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80319D#FFFFFF#000000##FFFFFF
##80319D1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#2F589A
Tritanopia (blue-blind)
#7E4663
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #80319d;
/* rgb */ color: rgb(128, 49, 157);
/* oklch */ color: oklch(47.4% 0.176 315.5);
Tailwind
colors: {
  custom: {
    50: '#a870ba',
    500: '#80319d',
    950: '#000000',
  },
}
SCSS
$custom: #80319d;
$custom-light: #a870ba;
$custom-dark: #000000;
JSON
{
  "hex": "#80319d",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 283.889,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47392,
    "c": 0.17561,
    "h": 315.5
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#80319D
secondary
#83BC6E
accent
#DC4C73
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80319D

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

Preview Lab → · Contrast checker → · Palette generator →

#80319D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva