#80248D#80248D

#80248D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.177 H 322.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#80248D
RGBrgb(128, 36, 141)
HSLhsl(293, 59%, 35%)
HSVhsv(293, 74%, 55%)
CMYKcmyk(9.2%, 74.5%, 0%, 44.7%)
CIE-LABlab(33.51, 52.78, -38.62)
CIE-LCHlch(33.51, 65.40, 323.80°)
OKLaboklab(44.99% 0.1403 -0.1079)
OKLCHoklch(44.99% 0.177 322.4)
XYZxyz(14.3402, 7.7749, 25.9395)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80248D #318D24
analogous
#4B248D #80248D #8D2466
triadic
#80248D #8D8024 #248D80
tetradic
#80248D #8D4B24 #318D24 #24668D
square
#80248D #8D4B24 #318D24 #24668D
split-complementary
#80248D #668D24 #248D4B
monochromatic
#270B2B #54185C #80248D #AC30BE #C557D4

Accessibility & contrast

On white

8.22
#80248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#80248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80248D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80248D#FFFFFF#000000##FFFFFF
##80248D1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#34528B
Tritanopia (blue-blind)
#823756
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #80248d;
/* rgb */ color: rgb(128, 36, 141);
/* oklch */ color: oklch(45.0% 0.177 322.4);
Tailwind
colors: {
  custom: {
    50: '#a869af',
    500: '#80248d',
    950: '#000000',
  },
}
SCSS
$custom: #80248d;
$custom-light: #a869af;
$custom-dark: #000000;
JSON
{
  "hex": "#80248d",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 292.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.17698,
    "h": 322.4
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#80248D
secondary
#61B854
accent
#E34559
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80248D

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

Preview Lab → · Contrast checker → · Palette generator →

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