#80227D#80227D

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

Color values

HEX#80227D
RGBrgb(128, 34, 125)
HSLhsl(302, 58%, 32%)
HSVhsv(302, 73%, 50%)
CMYKcmyk(0%, 73.4%, 2.3%, 49.8%)
CIE-LABlab(32.29, 50.62, -30.61)
CIE-LCHlch(32.29, 59.16, 328.84°)
OKLaboklab(43.81% 0.1426 -0.0846)
OKLCHoklch(43.81% 0.166 329.3)
XYZxyz(13.1757, 7.2149, 20.0967)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80227D #228025
analogous
#542280 #80227D #80224E
triadic
#80227D #7D8022 #227D80
tetradic
#80227D #805422 #228025 #224E80
square
#80227D #805422 #228025 #224E80
split-complementary
#80227D #4E8022 #228054
monochromatic
#1F081F #50154E #80227D #B02FAC #D04DCB

Accessibility & contrast

On white

8.60
#80227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #80227D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80227D#FFFFFF#000000##FFFFFF
##80227D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154480
Deuteranopia (green-blind)
#3D507B
Tritanopia (blue-blind)
#852F4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80227d;
/* rgb */ color: rgb(128, 34, 125);
/* oklch */ color: oklch(43.8% 0.166 329.3);
Tailwind
colors: {
  custom: {
    50: '#a867a3',
    500: '#80227d',
    950: '#000000',
  },
}
SCSS
$custom: #80227d;
$custom-light: #a867a3;
$custom-dark: #000000;
JSON
{
  "hex": "#80227d",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 301.915,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.1658,
    "h": 329.3
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#80227D
secondary
#4BB24F
accent
#E14B47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #80227D

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

Preview Lab → · Contrast checker → · Palette generator →

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