#80319C#80319C

#80319C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.175 H 315.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#80319C
RGBrgb(128, 49, 156)
HSLhsl(284, 52%, 40%)
HSVhsv(284, 69%, 61%)
CMYKcmyk(17.9%, 68.6%, 0%, 38.8%)
CIE-LABlab(36.34, 50.47, -43.25)
CIE-LCHlch(36.34, 66.46, 319.41°)
OKLaboklab(47.33% 0.1254 -0.1215)
OKLCHoklch(47.33% 0.175 315.9)
XYZxyz(16.0002, 9.1867, 32.3764)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80319C #4D9C31
analogous
#4A319C #80319C #9C3182
triadic
#80319C #9C8031 #319C80
tetradic
#80319C #9C4A31 #4D9C31 #31829C
square
#80319C #9C4A31 #4D9C31 #31829C
split-complementary
#80319C #829C31 #319C4A
monochromatic
#34143F #5A226D #80319C #A345C5 #BA74D3

Accessibility & contrast

On white

7.40
#80319C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80319C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80319C#FFFFFF#000000##FFFFFF
##80319C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#7E4662
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #80319c;
/* rgb */ color: rgb(128, 49, 156);
/* oklch */ color: oklch(47.3% 0.175 315.9);
Tailwind
colors: {
  custom: {
    50: '#a870ba',
    500: '#80319c',
    950: '#000000',
  },
}
SCSS
$custom: #80319c;
$custom-light: #a870ba;
$custom-dark: #000000;
JSON
{
  "hex": "#80319c",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 284.299,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47325,
    "c": 0.17463,
    "h": 315.9
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#80319C
secondary
#82BB6D
accent
#DC4C72
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80319C

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

Preview Lab → · Contrast checker → · Palette generator →

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