#80248B#80248B

#80248B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.175 H 323.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#80248B
RGBrgb(128, 36, 139)
HSLhsl(294, 59%, 34%)
HSVhsv(294, 74%, 55%)
CMYKcmyk(7.9%, 74.1%, 0%, 45.5%)
CIE-LABlab(33.38, 52.40, -37.59)
CIE-LCHlch(33.38, 64.49, 324.35°)
OKLaboklab(44.86% 0.1404 -0.1049)
OKLCHoklch(44.86% 0.175 323.2)
XYZxyz(14.1927, 7.7159, 25.1628)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80248B #2F8B24
analogous
#4D248B #80248B #8B2463
triadic
#80248B #8B8024 #248B80
tetradic
#80248B #8B4D24 #2F8B24 #24638B
square
#80248B #8B4D24 #2F8B24 #24638B
split-complementary
#80248B #638B24 #248B4D
monochromatic
#260B2A #53175A #80248B #AD31BC #C656D3

Accessibility & contrast

On white

8.26
#80248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80248B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80248B#FFFFFF#000000##FFFFFF
##80248B1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#355289
Tritanopia (blue-blind)
#823755
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80248b;
/* rgb */ color: rgb(128, 36, 139);
/* oklch */ color: oklch(44.9% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#a869ad',
    500: '#80248b',
    950: '#000000',
  },
}
SCSS
$custom: #80248b;
$custom-light: #a869ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80248b",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 293.592,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44863,
    "c": 0.17524,
    "h": 323.2
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#80248B
secondary
#5EB753
accent
#E24656
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80248B

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

Preview Lab → · Contrast checker → · Palette generator →

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