#80299E#80299E

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

Color values

HEX#80299E
RGBrgb(128, 41, 158)
HSLhsl(285, 59%, 39%)
HSVhsv(285, 74%, 62%)
CMYKcmyk(19%, 74.1%, 0%, 38%)
CIE-LABlab(35.29, 54.22, -46.15)
CIE-LCHlch(35.29, 71.20, 319.60°)
OKLaboklab(46.62% 0.1338 -0.13)
OKLCHoklch(46.62% 0.187 315.8)
XYZxyz(15.8656, 8.6443, 33.1739)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80299E #479E29
analogous
#45299E #80299E #9E2982
triadic
#80299E #9E8029 #299E80
tetradic
#80299E #9E4529 #479E29 #29829E
square
#80299E #9E4529 #479E29 #29829E
split-complementary
#80299E #829E29 #299E45
monochromatic
#31103D #591C6D #80299E #A639CC #BC69D8

Accessibility & contrast

On white

7.70
#80299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#80299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80299E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80299E#FFFFFF#000000##FFFFFF
##80299E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#27559B
Tritanopia (blue-blind)
#7E4261
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #80299e;
/* rgb */ color: rgb(128, 41, 158);
/* oklch */ color: oklch(46.6% 0.186 315.8);
Tailwind
colors: {
  custom: {
    50: '#a96cbb',
    500: '#80299e',
    950: '#000000',
  },
}
SCSS
$custom: #80299e;
$custom-light: #a96cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#80299e",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 284.615,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46617,
    "c": 0.1865,
    "h": 315.8
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#80299E
secondary
#7BBF64
accent
#E2466E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #80299E

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

Preview Lab → · Contrast checker → · Palette generator →

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