#80239B#80239B

#80239B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.190 H 317.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#80239B
RGBrgb(128, 35, 155)
HSLhsl(287, 63%, 37%)
HSVhsv(287, 77%, 61%)
CMYKcmyk(17.4%, 77.4%, 0%, 39.2%)
CIE-LABlab(34.31, 55.83, -45.91)
CIE-LCHlch(34.31, 72.28, 320.57°)
OKLaboklab(45.86% 0.1398 -0.1292)
OKLCHoklch(45.86% 0.19 317.3)
XYZxyz(15.4186, 8.1585, 31.7666)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80239B #3E9B23
analogous
#44239B #80239B #9B237A
triadic
#80239B #9B8023 #239B80
tetradic
#80239B #9B4423 #3E9B23 #237A9B
square
#80239B #9B4423 #3E9B23 #237A9B
split-complementary
#80239B #7A9B23 #239B44
monochromatic
#2E0C37 #571869 #80239B #A92ECD #BF5EDB

Accessibility & contrast

On white

7.98
#80239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#80239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80239B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80239B#FFFFFF#000000##FFFFFF
##80239B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#265398
Tritanopia (blue-blind)
#7F3D5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80239b;
/* rgb */ color: rgb(128, 35, 155);
/* oklch */ color: oklch(45.9% 0.190 317.3);
Tailwind
colors: {
  custom: {
    50: '#a969b9',
    500: '#80239b',
    950: '#000000',
  },
}
SCSS
$custom: #80239b;
$custom-light: #a969b9;
$custom-dark: #000000;
JSON
{
  "hex": "#80239b",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 286.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.19038,
    "h": 317.3
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#80239B
secondary
#71BF5A
accent
#E64267
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #80239B

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

Preview Lab → · Contrast checker → · Palette generator →

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