#80339A#80339A

#80339A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.170 H 316.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#80339A
RGBrgb(128, 51, 154)
HSLhsl(285, 50%, 40%)
HSVhsv(285, 67%, 60%)
CMYKcmyk(16.9%, 66.9%, 0%, 39.6%)
CIE-LABlab(36.54, 49.15, -41.72)
CIE-LCHlch(36.54, 64.47, 319.67°)
OKLaboklab(47.43% 0.1232 -0.1171)
OKLCHoklch(47.43% 0.17 316.5)
XYZxyz(15.9178, 9.2905, 31.5204)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80339A #4D9A33
analogous
#4C339A #80339A #9A3381
triadic
#80339A #9A8033 #339A80
tetradic
#80339A #9A4C33 #4D9A33 #33819A
square
#80339A #9A4C33 #4D9A33 #33819A
split-complementary
#80339A #819A33 #339A4C
monochromatic
#34153E #5A246C #80339A #A348C2 #BA76D2

Accessibility & contrast

On white

7.35
#80339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#80339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80339A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80339A#FFFFFF#000000##FFFFFF
##80339A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05519D
Deuteranopia (green-blind)
#345898
Tritanopia (blue-blind)
#7F4662
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #80339a;
/* rgb */ color: rgb(128, 51, 154);
/* oklch */ color: oklch(47.4% 0.170 316.5);
Tailwind
colors: {
  custom: {
    50: '#a871b8',
    500: '#80339a',
    950: '#000000',
  },
}
SCSS
$custom: #80339a;
$custom-light: #a871b8;
$custom-dark: #000000;
JSON
{
  "hex": "#80339a",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 284.854,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47425,
    "c": 0.16993,
    "h": 316.5
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#80339A
secondary
#82BA6F
accent
#DA4E71
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #80339A

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

Preview Lab → · Contrast checker → · Palette generator →

#80339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva