#80337D#80337D

#80337D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.7% C 0.142 H 329.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#80337D
RGBrgb(128, 51, 125)
HSLhsl(302, 43%, 35%)
HSVhsv(302, 60%, 50%)
CMYKcmyk(0%, 60.2%, 2.3%, 49.8%)
CIE-LABlab(34.88, 43.41, -26.53)
CIE-LCHlch(34.88, 50.87, 328.56°)
OKLaboklab(45.69% 0.1221 -0.0729)
OKLCHoklch(45.69% 0.142 329.1)
XYZxyz(13.7874, 8.4384, 20.3006)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80337D #338036
analogous
#5D3380 #80337D #803356
triadic
#80337D #7D8033 #337D80
tetradic
#80337D #805D33 #338036 #335680
square
#80337D #805D33 #338036 #335680
split-complementary
#80337D #568033 #33805D
monochromatic
#281028 #542252 #80337D #AC44A8 #C46AC0

Accessibility & contrast

On white

7.81
#80337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#80337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80337D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80337D#FFFFFF#000000##FFFFFF
##80337D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7F
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#843B53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80337d;
/* rgb */ color: rgb(128, 51, 125);
/* oklch */ color: oklch(45.7% 0.142 329.1);
Tailwind
colors: {
  custom: {
    50: '#a770a3',
    500: '#80337d',
    950: '#000000',
  },
}
SCSS
$custom: #80337d;
$custom-light: #a770a3;
$custom-dark: #000000;
JSON
{
  "hex": "#80337d",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 302.338,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45687,
    "c": 0.14218,
    "h": 329.1
  },
  "luminance": 0.08438
}

Semantic roles & 50–950 ramp

primary
#80337D
secondary
#63AB66
accent
#D35A55
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #80337D

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

Preview Lab → · Contrast checker → · Palette generator →

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