#80397B#80397B

#80397B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.4% C 0.131 H 330.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#80397B
RGBrgb(128, 57, 123)
HSLhsl(304, 38%, 36%)
HSVhsv(304, 55%, 50%)
CMYKcmyk(0%, 55.5%, 3.9%, 49.8%)
CIE-LABlab(35.88, 40.06, -23.72)
CIE-LCHlch(35.88, 46.55, 329.37°)
OKLaboklab(46.39% 0.1133 -0.0649)
OKLCHoklch(46.39% 0.131 330.2)
XYZxyz(13.9402, 8.9464, 19.7276)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80397B #39803E
analogous
#623980 #80397B #803958
triadic
#80397B #7B8039 #397B80
tetradic
#80397B #806239 #39803E #395880
square
#80397B #806239 #39803E #395880
split-complementary
#80397B #588039 #398062
monochromatic
#2B132A #562652 #80397B #AA4CA4 #C173BB

Accessibility & contrast

On white

7.53
#80397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#80397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80397B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80397B#FFFFFF#000000##FFFFFF
##80397B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#843F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #80397b;
/* rgb */ color: rgb(128, 57, 123);
/* oklch */ color: oklch(46.4% 0.131 330.2);
Tailwind
colors: {
  custom: {
    50: '#a773a1',
    500: '#80397b',
    950: '#000000',
  },
}
SCSS
$custom: #80397b;
$custom-light: #a773a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80397b",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 304.225,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46388,
    "c": 0.13056,
    "h": 330.2
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#80397B
secondary
#6BAA6F
accent
#CE6259
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080F
muted
#7F7B7E

Preview Lab

Preview with #80397B

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

Preview Lab → · Contrast checker → · Palette generator →

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