#80228A#80228A

#80228A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.177 H 323.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#80228A
RGBrgb(128, 34, 138)
HSLhsl(294, 60%, 34%)
HSVhsv(294, 75%, 54%)
CMYKcmyk(7.2%, 75.4%, 0%, 45.9%)
CIE-LABlab(33.07, 52.94, -37.47)
CIE-LCHlch(33.07, 64.86, 324.71°)
OKLaboklab(44.62% 0.1424 -0.1045)
OKLCHoklch(44.62% 0.177 323.7)
XYZxyz(14.0612, 7.5691, 24.7602)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80228A #2C8A22
analogous
#4C228A #80228A #8A2260
triadic
#80228A #8A8022 #228A80
tetradic
#80228A #8A4C22 #2C8A22 #22608A
square
#80228A #8A4C22 #2C8A22 #22608A
split-complementary
#80228A #608A22 #228A4C
monochromatic
#250A28 #521659 #80228A #AE2EBB #C852D4

Accessibility & contrast

On white

8.35
#80228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#80228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80228A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80228A#FFFFFF#000000##FFFFFF
##80228A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #80228a;
/* rgb */ color: rgb(128, 34, 138);
/* oklch */ color: oklch(44.6% 0.177 323.7);
Tailwind
colors: {
  custom: {
    50: '#a868ad',
    500: '#80228a',
    950: '#000000',
  },
}
SCSS
$custom: #80228a;
$custom-light: #a868ad;
$custom-dark: #000000;
JSON
{
  "hex": "#80228a",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 294.231,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44618,
    "c": 0.17666,
    "h": 323.7
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#80228A
secondary
#5AB850
accent
#E44454
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80228A

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

Preview Lab → · Contrast checker → · Palette generator →

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