#80339B#80339B

#80339B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.171 H 316.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#80339B
RGBrgb(128, 51, 155)
HSLhsl(284, 50%, 40%)
HSVhsv(284, 67%, 61%)
CMYKcmyk(17.4%, 67.1%, 0%, 39.2%)
CIE-LABlab(36.60, 49.36, -42.23)
CIE-LCHlch(36.60, 64.96, 319.45°)
OKLaboklab(47.49% 0.1231 -0.1185)
OKLCHoklch(47.49% 0.171 316.1)
XYZxyz(16.0014, 9.3240, 31.9608)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80339B #4E9B33
analogous
#4C339B #80339B #9B3382
triadic
#80339B #9B8033 #339B80
tetradic
#80339B #9B4C33 #4E9B33 #33829B
square
#80339B #9B4C33 #4E9B33 #33829B
split-complementary
#80339B #829B33 #339B4C
monochromatic
#34153F #5A246D #80339B #A348C3 #BA76D2

Accessibility & contrast

On white

7.33
#80339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#80339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80339B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80339B#FFFFFF#000000##FFFFFF
##80339B1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02519E
Deuteranopia (green-blind)
#335899
Tritanopia (blue-blind)
#7E4763
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #80339b;
/* rgb */ color: rgb(128, 51, 155);
/* oklch */ color: oklch(47.5% 0.171 316.1);
Tailwind
colors: {
  custom: {
    50: '#a871b9',
    500: '#80339b',
    950: '#000000',
  },
}
SCSS
$custom: #80339b;
$custom-light: #a871b9;
$custom-dark: #000000;
JSON
{
  "hex": "#80339b",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 284.423,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.17092,
    "h": 316.1
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#80339B
secondary
#83BA6F
accent
#DA4E72
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #80339B

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

Preview Lab → · Contrast checker → · Palette generator →

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