#80339E#80339E

#80339E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 315.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#80339E
RGBrgb(128, 51, 158)
HSLhsl(283, 51%, 41%)
HSVhsv(283, 68%, 62%)
CMYKcmyk(19%, 67.7%, 0%, 38%)
CIE-LABlab(36.79, 49.99, -43.73)
CIE-LCHlch(36.79, 66.42, 318.82°)
OKLaboklab(47.69% 0.123 -0.123)
OKLCHoklch(47.69% 0.174 315)
XYZxyz(16.2565, 9.4260, 33.3042)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80339E #519E33
analogous
#4B339E #80339E #9E3386
triadic
#80339E #9E8033 #339E80
tetradic
#80339E #9E4B33 #519E33 #33869E
square
#80339E #9E4B33 #519E33 #33869E
split-complementary
#80339E #869E33 #339E4B
monochromatic
#351541 #5B2470 #80339E #A24AC4 #BA78D3

Accessibility & contrast

On white

7.28
#80339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#80339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80339E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80339E#FFFFFF#000000##FFFFFF
##80339E1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#7E4864
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #80339e;
/* rgb */ color: rgb(128, 51, 158);
/* oklch */ color: oklch(47.7% 0.174 315.0);
Tailwind
colors: {
  custom: {
    50: '#a871bb',
    500: '#80339e',
    950: '#000000',
  },
}
SCSS
$custom: #80339e;
$custom-light: #a871bb;
$custom-dark: #000000;
JSON
{
  "hex": "#80339e",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 283.178,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47689,
    "c": 0.17391,
    "h": 315
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#80339E
secondary
#86BC71
accent
#DB4D75
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80339E

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

Preview Lab → · Contrast checker → · Palette generator →

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