#802C77#802C77

#802C77 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.148 H 332.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#802C77
RGBrgb(128, 44, 119)
HSLhsl(306, 49%, 34%)
HSVhsv(306, 66%, 50%)
CMYKcmyk(0%, 65.6%, 7%, 49.8%)
CIE-LABlab(33.40, 45.56, -25.10)
CIE-LCHlch(33.40, 52.01, 331.15°)
OKLaboklab(44.51% 0.1306 -0.0687)
OKLCHoklch(44.51% 0.148 332.2)
XYZxyz(13.1325, 7.7235, 18.2483)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C77 #2C8035
analogous
#5F2C80 #802C77 #802C4D
triadic
#802C77 #77802C #2C7780
tetradic
#802C77 #805F2C #2C8035 #2C4D80
square
#802C77 #805F2C #2C8035 #2C4D80
split-complementary
#802C77 #4D802C #2C805F
monochromatic
#250D22 #521C4D #802C77 #AE3CA1 #C85FBD

Accessibility & contrast

On white

8.25
#802C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#802C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C77
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C77#FFFFFF#000000##FFFFFF
##802C771.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#455375
Tritanopia (blue-blind)
#85344D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802c77;
/* rgb */ color: rgb(128, 44, 119);
/* oklch */ color: oklch(44.5% 0.148 332.2);
Tailwind
colors: {
  custom: {
    50: '#a86c9e',
    500: '#802c77',
    950: '#000000',
  },
}
SCSS
$custom: #802c77;
$custom-light: #a86c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#802c77",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 306.429,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.14759,
    "h": 332.2
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#802C77
secondary
#5AAE63
accent
#D85E4F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802C77

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

Preview Lab → · Contrast checker → · Palette generator →

#802C77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva