#80337A#80337A

#80337A is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.5% C 0.139 H 330.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#80337A
RGBrgb(128, 51, 122)
HSLhsl(305, 43%, 35%)
HSVhsv(305, 60%, 50%)
CMYKcmyk(0%, 60.2%, 4.7%, 49.8%)
CIE-LABlab(34.73, 42.86, -24.90)
CIE-LCHlch(34.73, 49.57, 329.85°)
OKLaboklab(45.53% 0.1217 -0.0682)
OKLCHoklch(45.53% 0.139 330.7)
XYZxyz(13.5987, 8.3629, 19.3065)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80337A #338039
analogous
#5F3380 #80337A #803354
triadic
#80337A #7A8033 #337A80
tetradic
#80337A #805F33 #338039 #335480
square
#80337A #805F33 #338039 #335480
split-complementary
#80337A #548033 #33805F
monochromatic
#281027 #542250 #80337A #AC44A4 #C46ABD

Accessibility & contrast

On white

7.86
#80337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#80337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80337A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80337A#FFFFFF#000000##FFFFFF
##80337A1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7C
Deuteranopia (green-blind)
#475678
Tritanopia (blue-blind)
#853A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80337a;
/* rgb */ color: rgb(128, 51, 122);
/* oklch */ color: oklch(45.5% 0.139 330.7);
Tailwind
colors: {
  custom: {
    50: '#a770a0',
    500: '#80337a',
    950: '#000000',
  },
}
SCSS
$custom: #80337a;
$custom-light: #a770a0;
$custom-dark: #000000;
JSON
{
  "hex": "#80337a",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 304.675,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.13949,
    "h": 330.7
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#80337A
secondary
#63AB69
accent
#D35F55
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #80337A

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

Preview Lab → · Contrast checker → · Palette generator →

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