#802A74#802A74

#802A74 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.148 H 333.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#802A74
RGBrgb(128, 42, 116)
HSLhsl(308, 51%, 33%)
HSVhsv(308, 67%, 50%)
CMYKcmyk(0%, 67.2%, 9.4%, 49.8%)
CIE-LABlab(32.93, 45.91, -23.93)
CIE-LCHlch(32.93, 51.78, 332.47°)
OKLaboklab(44.12% 0.1328 -0.0654)
OKLCHoklch(44.12% 0.148 333.8)
XYZxyz(12.8825, 7.5071, 17.2901)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A74 #2A8036
analogous
#612A80 #802A74 #802A49
triadic
#802A74 #74802A #2A7480
tetradic
#802A74 #80612A #2A8036 #2A4980
square
#802A74 #80612A #2A8036 #2A4980
split-complementary
#802A74 #49802A #2A8061
monochromatic
#240C20 #521B4A #802A74 #AE399E #C95BBA

Accessibility & contrast

On white

8.40
#802A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#802A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A74
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A74#FFFFFF#000000##FFFFFF
##802A741.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284576
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#86314B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802a74;
/* rgb */ color: rgb(128, 42, 116);
/* oklch */ color: oklch(44.1% 0.148 333.8);
Tailwind
colors: {
  custom: {
    50: '#a86b9c',
    500: '#802a74',
    950: '#000000',
  },
}
SCSS
$custom: #802a74;
$custom-light: #a86b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#802a74",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 308.372,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44119,
    "c": 0.148,
    "h": 333.8
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#802A74
secondary
#57AF63
accent
#DA614E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802A74

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

Preview Lab → · Contrast checker → · Palette generator →

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