#802A72#802A72

#802A72 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.146 H 334.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#802A72
RGBrgb(128, 42, 114)
HSLhsl(310, 51%, 33%)
HSVhsv(310, 67%, 50%)
CMYKcmyk(0%, 67.2%, 10.9%, 49.8%)
CIE-LABlab(32.83, 45.58, -22.83)
CIE-LCHlch(32.83, 50.97, 333.40°)
OKLaboklab(44.01% 0.1325 -0.0622)
OKLCHoklch(44.01% 0.146 334.8)
XYZxyz(12.7674, 7.4611, 16.6840)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A72 #2A8038
analogous
#632A80 #802A72 #802A47
triadic
#802A72 #72802A #2A7280
tetradic
#802A72 #80632A #2A8038 #2A4780
square
#802A72 #80632A #2A8038 #2A4780
split-complementary
#802A72 #47802A #2A8063
monochromatic
#240C20 #521B49 #802A72 #AE399B #C95BB7

Accessibility & contrast

On white

8.43
#802A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A72
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A72#FFFFFF#000000##FFFFFF
##802A721.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#86304A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802a72;
/* rgb */ color: rgb(128, 42, 114);
/* oklch */ color: oklch(44.0% 0.146 334.8);
Tailwind
colors: {
  custom: {
    50: '#a86a9b',
    500: '#802a72',
    950: '#000000',
  },
}
SCSS
$custom: #802a72;
$custom-light: #a86a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#802a72",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 309.767,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44013,
    "c": 0.14639,
    "h": 334.8
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#802A72
secondary
#57AF65
accent
#DA654E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802A72

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

Preview Lab → · Contrast checker → · Palette generator →

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