#80337E#80337E

#80337E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.7% C 0.143 H 328.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#80337E
RGBrgb(128, 51, 126)
HSLhsl(302, 43%, 35%)
HSVhsv(302, 60%, 50%)
CMYKcmyk(0%, 60.2%, 1.6%, 49.8%)
CIE-LABlab(34.93, 43.59, -27.07)
CIE-LCHlch(34.93, 51.31, 328.16°)
OKLaboklab(45.74% 0.1222 -0.0745)
OKLCHoklch(45.74% 0.143 328.6)
XYZxyz(13.8516, 8.4641, 20.6388)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80337E #338035
analogous
#5B3380 #80337E #803358
triadic
#80337E #7E8033 #337E80
tetradic
#80337E #805B33 #338035 #335880
square
#80337E #805B33 #338035 #335880
split-complementary
#80337E #588033 #33805B
monochromatic
#281028 #542253 #80337E #AC44A9 #C46AC1

Accessibility & contrast

On white

7.80
#80337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80337E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80337E#FFFFFF#000000##FFFFFF
##80337E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#843C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80337e;
/* rgb */ color: rgb(128, 51, 126);
/* oklch */ color: oklch(45.7% 0.143 328.6);
Tailwind
colors: {
  custom: {
    50: '#a770a3',
    500: '#80337e',
    950: '#000000',
  },
}
SCSS
$custom: #80337e;
$custom-light: #a770a3;
$custom-dark: #000000;
JSON
{
  "hex": "#80337e",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 301.558,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.14308,
    "h": 328.6
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#80337E
secondary
#63AB65
accent
#D35855
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #80337E

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

Preview Lab → · Contrast checker → · Palette generator →

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