#802288#802288

#802288 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.175 H 324.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#802288
RGBrgb(128, 34, 136)
HSLhsl(295, 60%, 33%)
HSVhsv(295, 75%, 53%)
CMYKcmyk(5.9%, 75%, 0%, 46.7%)
CIE-LABlab(32.94, 52.57, -36.43)
CIE-LCHlch(32.94, 63.96, 325.28°)
OKLaboklab(44.49% 0.1425 -0.1015)
OKLCHoklch(44.49% 0.175 324.5)
XYZxyz(13.9177, 7.5117, 24.0046)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802288 #2A8822
analogous
#4D2288 #802288 #88225D
triadic
#802288 #888022 #228880
tetradic
#802288 #884D22 #2A8822 #225D88
square
#802288 #884D22 #2A8822 #225D88
split-complementary
#802288 #5D8822 #22884D
monochromatic
#240A26 #521657 #802288 #AE2EB9 #C951D3

Accessibility & contrast

On white

8.39
#802288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#802288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802288
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802288#FFFFFF#000000##FFFFFF
##8022881.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#365186
Tritanopia (blue-blind)
#833453
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802288;
/* rgb */ color: rgb(128, 34, 136);
/* oklch */ color: oklch(44.5% 0.175 324.5);
Tailwind
colors: {
  custom: {
    50: '#a868ab',
    500: '#802288',
    950: '#000000',
  },
}
SCSS
$custom: #802288;
$custom-light: #a868ab;
$custom-dark: #000000;
JSON
{
  "hex": "#802288",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 295.294,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.17496,
    "h": 324.5
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#802288
secondary
#57B74F
accent
#E34551
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802288

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

Preview Lab → · Contrast checker → · Palette generator →

#802288 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva