#80227A#80227A

#80227A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.163 H 330.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#80227A
RGBrgb(128, 34, 122)
HSLhsl(304, 58%, 32%)
HSVhsv(304, 73%, 50%)
CMYKcmyk(0%, 73.4%, 4.7%, 49.8%)
CIE-LABlab(32.12, 50.11, -28.99)
CIE-LCHlch(32.12, 57.89, 329.94°)
OKLaboklab(43.64% 0.1425 -0.0799)
OKLCHoklch(43.64% 0.163 330.7)
XYZxyz(12.9869, 7.1394, 19.1026)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80227A #228028
analogous
#572280 #80227A #80224B
triadic
#80227A #7A8022 #227A80
tetradic
#80227A #805722 #228028 #224B80
square
#80227A #805722 #228028 #224B80
split-complementary
#80227A #4B8022 #228057
monochromatic
#1F081E #50154C #80227A #B02FA8 #D04DC7

Accessibility & contrast

On white

8.65
#80227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#80227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80227A
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80227A#FFFFFF#000000##FFFFFF
##80227A1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#852D4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80227a;
/* rgb */ color: rgb(128, 34, 122);
/* oklch */ color: oklch(43.6% 0.163 330.7);
Tailwind
colors: {
  custom: {
    50: '#a867a1',
    500: '#80227a',
    950: '#000000',
  },
}
SCSS
$custom: #80227a;
$custom-light: #a867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80227a",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 303.83,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.16338,
    "h": 330.7
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#80227A
secondary
#4BB252
accent
#E15047
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #80227A

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

Preview Lab → · Contrast checker → · Palette generator →

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