#80399B#80399B

#80399B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.2% C 0.162 H 315.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#80399B
RGBrgb(128, 57, 155)
HSLhsl(283, 46%, 42%)
HSVhsv(283, 63%, 61%)
CMYKcmyk(17.4%, 63.2%, 0%, 39.2%)
CIE-LABlab(37.63, 46.51, -40.58)
CIE-LCHlch(37.63, 61.73, 318.90°)
OKLaboklab(48.24% 0.1158 -0.1138)
OKLCHoklch(48.24% 0.162 315.5)
XYZxyz(16.2807, 9.8826, 32.0539)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80399B #549B39
analogous
#4F399B #80399B #9B3985
triadic
#80399B #9B8039 #399B80
tetradic
#80399B #9B4F39 #549B39 #39859B
square
#80399B #9B4F39 #549B39 #39859B
split-complementary
#80399B #859B39 #399B4F
monochromatic
#361842 #5B296E #80399B #A152BF #B97FD0

Accessibility & contrast

On white

7.06
#80399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#80399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80399B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80399B#FFFFFF#000000##FFFFFF
##80399B1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549E
Deuteranopia (green-blind)
#385B99
Tritanopia (blue-blind)
#7E4B65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #80399b;
/* rgb */ color: rgb(128, 57, 155);
/* oklch */ color: oklch(48.2% 0.162 315.5);
Tailwind
colors: {
  custom: {
    50: '#a874b9',
    500: '#80399b',
    950: '#000000',
  },
}
SCSS
$custom: #80399b;
$custom-light: #a874b9;
$custom-dark: #000000;
JSON
{
  "hex": "#80399b",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 283.469,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48235,
    "c": 0.16234,
    "h": 315.5
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#80399B
secondary
#89B977
accent
#D65276
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #80399B

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

Preview Lab → · Contrast checker → · Palette generator →

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