#80339C#80339C

#80339C is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.172 H 315.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#80339C
RGBrgb(128, 51, 156)
HSLhsl(284, 51%, 41%)
HSVhsv(284, 67%, 61%)
CMYKcmyk(17.9%, 67.3%, 0%, 38.8%)
CIE-LABlab(36.66, 49.57, -42.73)
CIE-LCHlch(36.66, 65.44, 319.24°)
OKLaboklab(47.56% 0.1231 -0.12)
OKLCHoklch(47.56% 0.172 315.7)
XYZxyz(16.0857, 9.3577, 32.4049)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80339C #4F9C33
analogous
#4B339C #80339C #9C3383
triadic
#80339C #9C8033 #339C80
tetradic
#80339C #9C4B33 #4F9C33 #33839C
square
#80339C #9C4B33 #4F9C33 #33839C
split-complementary
#80339C #839C33 #339C4B
monochromatic
#341540 #5A246E #80339C #A349C3 #BA77D3

Accessibility & contrast

On white

7.31
#80339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#80339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80339C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80339C#FFFFFF#000000##FFFFFF
##80339C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#32589A
Tritanopia (blue-blind)
#7E4763
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #80339c;
/* rgb */ color: rgb(128, 51, 156);
/* oklch */ color: oklch(47.6% 0.172 315.7);
Tailwind
colors: {
  custom: {
    50: '#a871ba',
    500: '#80339c',
    950: '#000000',
  },
}
SCSS
$custom: #80339c;
$custom-light: #a871ba;
$custom-dark: #000000;
JSON
{
  "hex": "#80339c",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 284,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.17193,
    "h": 315.7
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#80339C
secondary
#84BB70
accent
#DA4E73
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80339C

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

Preview Lab → · Contrast checker → · Palette generator →

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