#80227F#80227F

#80227F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.167 H 328.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#80227F
RGBrgb(128, 34, 127)
HSLhsl(301, 58%, 32%)
HSVhsv(301, 73%, 50%)
CMYKcmyk(0%, 73.4%, 0.8%, 49.8%)
CIE-LABlab(32.41, 50.97, -31.68)
CIE-LCHlch(32.41, 60.01, 328.13°)
OKLaboklab(43.93% 0.1427 -0.0877)
OKLCHoklch(43.93% 0.167 328.4)
XYZxyz(13.3047, 7.2665, 20.7764)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80227F #228023
analogous
#522280 #80227F #802250
triadic
#80227F #7F8022 #227F80
tetradic
#80227F #805222 #228023 #225080
square
#80227F #805222 #228023 #225080
split-complementary
#80227F #508022 #228052
monochromatic
#1F081F #50154F #80227F #B02FAF #D04DCE

Accessibility & contrast

On white

8.56
#80227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#80227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80227F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80227F#FFFFFF#000000##FFFFFF
##80227F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124482
Deuteranopia (green-blind)
#3C517D
Tritanopia (blue-blind)
#84304E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #80227f;
/* rgb */ color: rgb(128, 34, 127);
/* oklch */ color: oklch(43.9% 0.167 328.4);
Tailwind
colors: {
  custom: {
    50: '#a867a4',
    500: '#80227f',
    950: '#000000',
  },
}
SCSS
$custom: #80227f;
$custom-light: #a867a4;
$custom-dark: #000000;
JSON
{
  "hex": "#80227f",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 300.638,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43931,
    "c": 0.16744,
    "h": 328.4
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#80227F
secondary
#4BB24C
accent
#E14847
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #80227F

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

Preview Lab → · Contrast checker → · Palette generator →

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