#802289#802289

#802289 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.176 H 324.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#802289
RGBrgb(128, 34, 137)
HSLhsl(295, 60%, 34%)
HSVhsv(295, 75%, 54%)
CMYKcmyk(6.6%, 75.2%, 0%, 46.3%)
CIE-LABlab(33.01, 52.75, -36.95)
CIE-LCHlch(33.01, 64.41, 324.99°)
OKLaboklab(44.55% 0.1425 -0.103)
OKLCHoklch(44.55% 0.176 324.1)
XYZxyz(13.9891, 7.5403, 24.3806)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802289 #2B8922
analogous
#4C2289 #802289 #89225E
triadic
#802289 #898022 #228980
tetradic
#802289 #894C22 #2B8922 #225E89
square
#802289 #894C22 #2B8922 #225E89
split-complementary
#802289 #5E8922 #22894C
monochromatic
#240A27 #521658 #802289 #AE2EBA #C951D4

Accessibility & contrast

On white

8.37
#802289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#802289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802289
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802289#FFFFFF#000000##FFFFFF
##8022891.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#823454
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802289;
/* rgb */ color: rgb(128, 34, 137);
/* oklch */ color: oklch(44.6% 0.176 324.1);
Tailwind
colors: {
  custom: {
    50: '#a868ac',
    500: '#802289',
    950: '#000000',
  },
}
SCSS
$custom: #802289;
$custom-light: #a868ac;
$custom-dark: #000000;
JSON
{
  "hex": "#802289",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 294.757,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44554,
    "c": 0.17581,
    "h": 324.1
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#802289
secondary
#58B84F
accent
#E34452
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802289

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

Preview Lab → · Contrast checker → · Palette generator →

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