#80299B#80299B

#80299B is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.184 H 316.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#80299B
RGBrgb(128, 41, 155)
HSLhsl(286, 58%, 38%)
HSVhsv(286, 74%, 61%)
CMYKcmyk(17.4%, 73.5%, 0%, 39.2%)
CIE-LABlab(35.09, 53.61, -44.65)
CIE-LCHlch(35.09, 69.77, 320.21°)
OKLaboklab(46.41% 0.1341 -0.1256)
OKLCHoklch(46.41% 0.184 316.9)
XYZxyz(15.6105, 8.5423, 31.8305)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80299B #449B29
analogous
#47299B #80299B #9B297D
triadic
#80299B #9B8029 #299B80
tetradic
#80299B #9B4729 #449B29 #297D9B
square
#80299B #9B4729 #449B29 #297D9B
split-complementary
#80299B #7D9B29 #299B47
monochromatic
#300F3A #581C6B #80299B #A737CA #BD67D7

Accessibility & contrast

On white

7.75
#80299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#80299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80299B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80299B#FFFFFF#000000##FFFFFF
##80299B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#2A5598
Tritanopia (blue-blind)
#7F4160
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #80299b;
/* rgb */ color: rgb(128, 41, 155);
/* oklch */ color: oklch(46.4% 0.184 316.9);
Tailwind
colors: {
  custom: {
    50: '#a96cb9',
    500: '#80299b',
    950: '#000000',
  },
}
SCSS
$custom: #80299b;
$custom-light: #a96cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#80299b",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 285.789,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46408,
    "c": 0.18373,
    "h": 316.9
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#80299B
secondary
#78BD63
accent
#E1466B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #80299B

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

Preview Lab → · Contrast checker → · Palette generator →

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