#80299D#80299D

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

Color values

HEX#80299D
RGBrgb(128, 41, 157)
HSLhsl(285, 59%, 39%)
HSVhsv(285, 74%, 62%)
CMYKcmyk(18.5%, 73.9%, 0%, 38.4%)
CIE-LABlab(35.22, 54.02, -45.65)
CIE-LCHlch(35.22, 70.73, 319.80°)
OKLaboklab(46.55% 0.1339 -0.1285)
OKLCHoklch(46.55% 0.186 316.2)
XYZxyz(15.7799, 8.6100, 32.7224)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80299D #469D29
analogous
#46299D #80299D #9D2980
triadic
#80299D #9D8029 #299D80
tetradic
#80299D #9D4629 #469D29 #29809D
square
#80299D #9D4629 #469D29 #29809D
split-complementary
#80299D #809D29 #299D46
monochromatic
#31103C #581C6C #80299D #A638CB #BC69D8

Accessibility & contrast

On white

7.72
#80299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80299D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80299D#FFFFFF#000000##FFFFFF
##80299D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#28559A
Tritanopia (blue-blind)
#7E4161
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #80299d;
/* rgb */ color: rgb(128, 41, 157);
/* oklch */ color: oklch(46.5% 0.186 316.2);
Tailwind
colors: {
  custom: {
    50: '#a96cbb',
    500: '#80299d',
    950: '#000000',
  },
}
SCSS
$custom: #80299d;
$custom-light: #a96cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#80299d",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 285,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.18558,
    "h": 316.2
  },
  "luminance": 0.08609
}

Semantic roles & 50–950 ramp

primary
#80299D
secondary
#7ABE64
accent
#E2466D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #80299D

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

Preview Lab → · Contrast checker → · Palette generator →

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