#80227B#80227B

#80227B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.164 H 330.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#80227B
RGBrgb(128, 34, 123)
HSLhsl(303, 58%, 32%)
HSVhsv(303, 73%, 50%)
CMYKcmyk(0%, 73.4%, 3.9%, 49.8%)
CIE-LABlab(32.18, 50.28, -29.53)
CIE-LCHlch(32.18, 58.31, 329.57°)
OKLaboklab(43.69% 0.1426 -0.0814)
OKLCHoklch(43.69% 0.164 330.3)
XYZxyz(13.0492, 7.1643, 19.4306)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80227B #228027
analogous
#562280 #80227B #80224C
triadic
#80227B #7B8022 #227B80
tetradic
#80227B #805622 #228027 #224C80
square
#80227B #805622 #228027 #224C80
split-complementary
#80227B #4C8022 #228056
monochromatic
#1F081E #50154D #80227B #B02FA9 #D04DC9

Accessibility & contrast

On white

8.63
#80227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80227B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80227B#FFFFFF#000000##FFFFFF
##80227B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437D
Deuteranopia (green-blind)
#3E5079
Tritanopia (blue-blind)
#852E4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80227b;
/* rgb */ color: rgb(128, 34, 123);
/* oklch */ color: oklch(43.7% 0.164 330.3);
Tailwind
colors: {
  custom: {
    50: '#a867a1',
    500: '#80227b',
    950: '#000000',
  },
}
SCSS
$custom: #80227b;
$custom-light: #a867a1;
$custom-dark: #000000;
JSON
{
  "hex": "#80227b",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 303.191,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43693,
    "c": 0.16418,
    "h": 330.3
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#80227B
secondary
#4BB251
accent
#E14F47
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80227B

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

Preview Lab → · Contrast checker → · Palette generator →

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