#80337C#80337C

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

Color values

HEX#80337C
RGBrgb(128, 51, 124)
HSLhsl(303, 43%, 35%)
HSVhsv(303, 60%, 50%)
CMYKcmyk(0%, 60.2%, 3.1%, 49.8%)
CIE-LABlab(34.83, 43.22, -25.99)
CIE-LCHlch(34.83, 50.43, 328.98°)
OKLaboklab(45.63% 0.1219 -0.0714)
OKLCHoklch(45.63% 0.141 329.7)
XYZxyz(13.7239, 8.4130, 19.9659)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80337C #338037
analogous
#5E3380 #80337C #803355
triadic
#80337C #7C8033 #337C80
tetradic
#80337C #805E33 #338037 #335580
square
#80337C #805E33 #338037 #335580
split-complementary
#80337C #558033 #33805E
monochromatic
#281027 #542252 #80337C #AC44A6 #C46ABF

Accessibility & contrast

On white

7.83
#80337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80337C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80337C#FFFFFF#000000##FFFFFF
##80337C1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4B7E
Deuteranopia (green-blind)
#46567A
Tritanopia (blue-blind)
#843B52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80337c;
/* rgb */ color: rgb(128, 51, 124);
/* oklch */ color: oklch(45.6% 0.141 329.7);
Tailwind
colors: {
  custom: {
    50: '#a770a2',
    500: '#80337c',
    950: '#000000',
  },
}
SCSS
$custom: #80337c;
$custom-light: #a770a2;
$custom-dark: #000000;
JSON
{
  "hex": "#80337c",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 303.117,
    "s": 43.017,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.14127,
    "h": 329.7
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#80337C
secondary
#63AB67
accent
#D35C55
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #80337C

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

Preview Lab → · Contrast checker → · Palette generator →

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