#80337B#80337B

#80337B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.6% C 0.140 H 330.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#80337B
RGBrgb(128, 51, 123)
HSLhsl(304, 43%, 35%)
HSVhsv(304, 60%, 50%)
CMYKcmyk(0%, 60.2%, 3.9%, 49.8%)
CIE-LABlab(34.78, 43.04, -25.44)
CIE-LCHlch(34.78, 50.00, 329.41°)
OKLaboklab(45.58% 0.1218 -0.0698)
OKLCHoklch(45.58% 0.14 330.2)
XYZxyz(13.6610, 8.3878, 19.6345)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80337B #338038
analogous
#5E3380 #80337B #803355
triadic
#80337B #7B8033 #337B80
tetradic
#80337B #805E33 #338038 #335580
square
#80337B #805E33 #338038 #335580
split-complementary
#80337B #558033 #33805E
monochromatic
#281027 #542251 #80337B #AC44A5 #C46ABE

Accessibility & contrast

On white

7.84
#80337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#80337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80337B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80337B#FFFFFF#000000##FFFFFF
##80337B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7D
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#853B52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80337b;
/* rgb */ color: rgb(128, 51, 123);
/* oklch */ color: oklch(45.6% 0.140 330.2);
Tailwind
colors: {
  custom: {
    50: '#a770a1',
    500: '#80337b',
    950: '#000000',
  },
}
SCSS
$custom: #80337b;
$custom-light: #a770a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80337b",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 303.896,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.14038,
    "h": 330.2
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#80337B
secondary
#63AB68
accent
#D35D55
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #80337B

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

Preview Lab → · Contrast checker → · Palette generator →

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