#80227C#80227C

#80227C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.165 H 329.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#80227C
RGBrgb(128, 34, 124)
HSLhsl(303, 58%, 32%)
HSVhsv(303, 73%, 50%)
CMYKcmyk(0%, 73.4%, 3.1%, 49.8%)
CIE-LABlab(32.23, 50.45, -30.07)
CIE-LCHlch(32.23, 58.73, 329.20°)
OKLaboklab(43.75% 0.1426 -0.083)
OKLCHoklch(43.75% 0.165 329.8)
XYZxyz(13.1121, 7.1895, 19.7620)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80227C #228026
analogous
#552280 #80227C #80224D
triadic
#80227C #7C8022 #227C80
tetradic
#80227C #805522 #228026 #224D80
square
#80227C #805522 #228026 #224D80
split-complementary
#80227C #4D8022 #228055
monochromatic
#1F081E #50154D #80227C #B02FAB #D04DCA

Accessibility & contrast

On white

8.62
#80227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#80227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80227C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80227C#FFFFFF#000000##FFFFFF
##80227C1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447E
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#852E4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80227c;
/* rgb */ color: rgb(128, 34, 124);
/* oklch */ color: oklch(43.8% 0.165 329.8);
Tailwind
colors: {
  custom: {
    50: '#a867a2',
    500: '#80227c',
    950: '#000000',
  },
}
SCSS
$custom: #80227c;
$custom-light: #a867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#80227c",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 302.553,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43752,
    "c": 0.16498,
    "h": 329.8
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#80227C
secondary
#4BB250
accent
#E14D47
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80227C

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

Preview Lab → · Contrast checker → · Palette generator →

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