#80299C#80299C

#80299C is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.185 H 316.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#80299C
RGBrgb(128, 41, 156)
HSLhsl(285, 58%, 39%)
HSVhsv(285, 74%, 61%)
CMYKcmyk(17.9%, 73.7%, 0%, 38.8%)
CIE-LABlab(35.15, 53.82, -45.15)
CIE-LCHlch(35.15, 70.25, 320.00°)
OKLaboklab(46.48% 0.134 -0.1271)
OKLCHoklch(46.48% 0.185 316.5)
XYZxyz(15.6949, 8.5760, 32.2746)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80299C #459C29
analogous
#46299C #80299C #9C297E
triadic
#80299C #9C8029 #299C80
tetradic
#80299C #9C4629 #459C29 #297E9C
square
#80299C #9C4629 #459C29 #297E9C
split-complementary
#80299C #7E9C29 #299C46
monochromatic
#30103B #581C6C #80299C #A738CB #BC68D7

Accessibility & contrast

On white

7.73
#80299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#80299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80299C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80299C#FFFFFF#000000##FFFFFF
##80299C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#295599
Tritanopia (blue-blind)
#7E4160
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #80299c;
/* rgb */ color: rgb(128, 41, 156);
/* oklch */ color: oklch(46.5% 0.185 316.5);
Tailwind
colors: {
  custom: {
    50: '#a96cba',
    500: '#80299c',
    950: '#000000',
  },
}
SCSS
$custom: #80299c;
$custom-light: #a96cba;
$custom-dark: #000000;
JSON
{
  "hex": "#80299c",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 285.391,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.18466,
    "h": 316.5
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#80299C
secondary
#79BE63
accent
#E2466C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #80299C

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

Preview Lab → · Contrast checker → · Palette generator →

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