#80239D#80239D

#80239D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.192 H 316.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#80239D
RGBrgb(128, 35, 157)
HSLhsl(286, 64%, 38%)
HSVhsv(286, 78%, 62%)
CMYKcmyk(18.5%, 77.7%, 0%, 38.4%)
CIE-LABlab(34.45, 56.23, -46.90)
CIE-LCHlch(34.45, 73.22, 320.17°)
OKLaboklab(46% 0.1395 -0.1321)
OKLCHoklch(46% 0.192 316.6)
XYZxyz(15.5880, 8.2262, 32.6585)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80239D #409D23
analogous
#43239D #80239D #9D237D
triadic
#80239D #9D8023 #239D80
tetradic
#80239D #9D4323 #409D23 #237D9D
square
#80239D #9D4323 #409D23 #237D9D
split-complementary
#80239D #7D9D23 #239D43
monochromatic
#2E0D39 #57186B #80239D #A92ECF #BE5FDB

Accessibility & contrast

On white

7.94
#80239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#80239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80239D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80239D#FFFFFF#000000##FFFFFF
##80239D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#23549A
Tritanopia (blue-blind)
#7E3E5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #80239d;
/* rgb */ color: rgb(128, 35, 157);
/* oklch */ color: oklch(46.0% 0.192 316.6);
Tailwind
colors: {
  custom: {
    50: '#a969bb',
    500: '#80239d',
    950: '#000000',
  },
}
SCSS
$custom: #80239d;
$custom-light: #a969bb;
$custom-dark: #000000;
JSON
{
  "hex": "#80239d",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 285.738,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45999,
    "c": 0.19216,
    "h": 316.6
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#80239D
secondary
#74C05C
accent
#E74169
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #80239D

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

Preview Lab → · Contrast checker → · Palette generator →

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