#80337F#80337F

#80337F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.8% C 0.144 H 328.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#80337F
RGBrgb(128, 51, 127)
HSLhsl(301, 43%, 35%)
HSVhsv(301, 60%, 50%)
CMYKcmyk(0%, 60.2%, 0.8%, 49.8%)
CIE-LABlab(34.98, 43.78, -27.62)
CIE-LCHlch(34.98, 51.76, 327.76°)
OKLaboklab(45.8% 0.1223 -0.0761)
OKLCHoklch(45.8% 0.144 328.1)
XYZxyz(13.9165, 8.4900, 20.9803)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80337F #338034
analogous
#5A3380 #80337F #803359
triadic
#80337F #7F8033 #337F80
tetradic
#80337F #805A33 #338034 #335980
square
#80337F #805A33 #338034 #335980
split-complementary
#80337F #598033 #33805A
monochromatic
#281028 #542254 #80337F #AC44AA #C46AC2

Accessibility & contrast

On white

7.78
#80337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#80337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80337F
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80337F#FFFFFF#000000##FFFFFF
##80337F1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#843C54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80337f;
/* rgb */ color: rgb(128, 51, 127);
/* oklch */ color: oklch(45.8% 0.144 328.1);
Tailwind
colors: {
  custom: {
    50: '#a770a4',
    500: '#80337f',
    950: '#000000',
  },
}
SCSS
$custom: #80337f;
$custom-light: #a770a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80337f",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 300.779,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.144,
    "h": 328.1
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#80337F
secondary
#63AB64
accent
#D35755
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #80337F

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

Preview Lab → · Contrast checker → · Palette generator →

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