#80319B#80319B

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

Color values

HEX#80319B
RGBrgb(128, 49, 155)
HSLhsl(285, 52%, 40%)
HSVhsv(285, 68%, 61%)
CMYKcmyk(17.4%, 68.4%, 0%, 39.2%)
CIE-LABlab(36.28, 50.26, -42.74)
CIE-LCHlch(36.28, 65.98, 319.62°)
OKLaboklab(47.26% 0.1255 -0.1201)
OKLCHoklch(47.26% 0.174 316.3)
XYZxyz(15.9159, 9.1530, 31.9323)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80319B #4C9B31
analogous
#4B319B #80319B #9B3181
triadic
#80319B #9B8031 #319B80
tetradic
#80319B #9B4B31 #4C9B31 #31819B
square
#80319B #9B4B31 #4C9B31 #31819B
split-complementary
#80319B #819B31 #319B4B
monochromatic
#33143E #5A226D #80319B #A445C4 #BB73D3

Accessibility & contrast

On white

7.42
#80319B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#80319B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80319B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80319B#FFFFFF#000000##FFFFFF
##80319B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#315899
Tritanopia (blue-blind)
#7E4562
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #80319b;
/* rgb */ color: rgb(128, 49, 155);
/* oklch */ color: oklch(47.3% 0.174 316.3);
Tailwind
colors: {
  custom: {
    50: '#a86fb9',
    500: '#80319b',
    950: '#000000',
  },
}
SCSS
$custom: #80319b;
$custom-light: #a86fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#80319b",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 155
  },
  "hsl": {
    "h": 284.717,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.17365,
    "h": 316.3
  },
  "luminance": 0.09152
}

Semantic roles & 50–950 ramp

primary
#80319B
secondary
#81BB6D
accent
#DB4C71
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #80319B

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

Preview Lab → · Contrast checker → · Palette generator →

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