#80248A#80248A

#80248A is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.174 H 323.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#80248A
RGBrgb(128, 36, 138)
HSLhsl(294, 59%, 34%)
HSVhsv(294, 74%, 54%)
CMYKcmyk(7.2%, 73.9%, 0%, 45.9%)
CIE-LABlab(33.32, 52.22, -37.07)
CIE-LCHlch(33.32, 64.04, 324.63°)
OKLaboklab(44.8% 0.1404 -0.1034)
OKLCHoklch(44.8% 0.174 323.6)
XYZxyz(14.1200, 7.6868, 24.7798)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80248A #2E8A24
analogous
#4D248A #80248A #8A2461
triadic
#80248A #8A8024 #248A80
tetradic
#80248A #8A4D24 #2E8A24 #24618A
square
#80248A #8A4D24 #2E8A24 #24618A
split-complementary
#80248A #618A24 #248A4D
monochromatic
#260B29 #531759 #80248A #AD31BB #C756D3

Accessibility & contrast

On white

8.28
#80248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#80248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80248A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80248A#FFFFFF#000000##FFFFFF
##80248A1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#365288
Tritanopia (blue-blind)
#823655
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80248a;
/* rgb */ color: rgb(128, 36, 138);
/* oklch */ color: oklch(44.8% 0.174 323.6);
Tailwind
colors: {
  custom: {
    50: '#a869ad',
    500: '#80248a',
    950: '#000000',
  },
}
SCSS
$custom: #80248a;
$custom-light: #a869ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80248a",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 294.118,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.17438,
    "h": 323.6
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#80248A
secondary
#5DB753
accent
#E24655
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80248A

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

Preview Lab → · Contrast checker → · Palette generator →

#80248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva