#80339F#80339F

#80339F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.175 H 314.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#80339F
RGBrgb(128, 51, 159)
HSLhsl(283, 51%, 41%)
HSVhsv(283, 68%, 62%)
CMYKcmyk(19.5%, 67.9%, 0%, 37.6%)
CIE-LABlab(36.86, 50.21, -44.23)
CIE-LCHlch(36.86, 66.91, 318.62°)
OKLaboklab(47.76% 0.1229 -0.1244)
OKLCHoklch(47.76% 0.175 314.7)
XYZxyz(16.3429, 9.4606, 33.7594)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80339F #529F33
analogous
#4A339F #80339F #9F3388
triadic
#80339F #9F8033 #339F80
tetradic
#80339F #9F4A33 #529F33 #33889F
square
#80339F #9F4A33 #529F33 #33889F
split-complementary
#80339F #889F33 #339F4A
monochromatic
#351542 #5B2471 #80339F #A24AC5 #BA79D4

Accessibility & contrast

On white

7.26
#80339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80339F
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80339F#FFFFFF#000000##FFFFFF
##80339F1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#2F599C
Tritanopia (blue-blind)
#7D4865
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #80339f;
/* rgb */ color: rgb(128, 51, 159);
/* oklch */ color: oklch(47.8% 0.175 314.7);
Tailwind
colors: {
  custom: {
    50: '#a871bc',
    500: '#80339f',
    950: '#000000',
  },
}
SCSS
$custom: #80339f;
$custom-light: #a871bc;
$custom-dark: #000000;
JSON
{
  "hex": "#80339f",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 282.778,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47756,
    "c": 0.17491,
    "h": 314.7
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#80339F
secondary
#87BC71
accent
#DB4D76
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #80339F

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

Preview Lab → · Contrast checker → · Palette generator →

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