#80228F#80228F

#80228F is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.181 H 321.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#80228F
RGBrgb(128, 34, 143)
HSLhsl(292, 62%, 35%)
HSVhsv(292, 76%, 56%)
CMYKcmyk(10.5%, 76.2%, 0%, 43.9%)
CIE-LABlab(33.39, 53.87, -40.05)
CIE-LCHlch(33.39, 67.13, 323.37°)
OKLaboklab(44.95% 0.1421 -0.1121)
OKLCHoklch(44.95% 0.181 321.7)
XYZxyz(14.4315, 7.7172, 26.7107)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80228F #318F22
analogous
#4A228F #80228F #8F2268
triadic
#80228F #8F8022 #228F80
tetradic
#80228F #8F4A22 #318F22 #22688F
square
#80228F #8F4A22 #318F22 #22688F
split-complementary
#80228F #688F22 #228F4A
monochromatic
#270A2C #54165E #80228F #AC2EC0 #C555D7

Accessibility & contrast

On white

8.26
#80228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#80228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80228F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80228F#FFFFFF#000000##FFFFFF
##80228F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#813757
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #80228f;
/* rgb */ color: rgb(128, 34, 143);
/* oklch */ color: oklch(44.9% 0.181 321.7);
Tailwind
colors: {
  custom: {
    50: '#a868b0',
    500: '#80228f',
    950: '#000000',
  },
}
SCSS
$custom: #80228f;
$custom-light: #a868b0;
$custom-dark: #000000;
JSON
{
  "hex": "#80228f",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 291.743,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.18095,
    "h": 321.7
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#80228F
secondary
#61BA52
accent
#E54359
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #80228F

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

Preview Lab → · Contrast checker → · Palette generator →

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