#802B72#802B72

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

Color values

HEX#802B72
RGBrgb(128, 43, 114)
HSLhsl(310, 50%, 34%)
HSVhsv(310, 66%, 50%)
CMYKcmyk(0%, 66.4%, 10.9%, 49.8%)
CIE-LABlab(32.99, 45.14, -22.58)
CIE-LCHlch(32.99, 50.48, 333.42°)
OKLaboklab(44.13% 0.1312 -0.0615)
OKLCHoklch(44.13% 0.145 334.9)
XYZxyz(12.8033, 7.5329, 16.6960)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B72 #2B8039
analogous
#632B80 #802B72 #802B47
triadic
#802B72 #72802B #2B7280
tetradic
#802B72 #80632B #2B8039 #2B4780
square
#802B72 #80632B #2B8039 #2B4780
split-complementary
#802B72 #47802B #2B8063
monochromatic
#240C20 #521C49 #802B72 #AE3A9B #C95DB7

Accessibility & contrast

On white

8.38
#802B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#802B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B72
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B72#FFFFFF#000000##FFFFFF
##802B721.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#86314A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802b72;
/* rgb */ color: rgb(128, 43, 114);
/* oklch */ color: oklch(44.1% 0.145 334.9);
Tailwind
colors: {
  custom: {
    50: '#a86b9b',
    500: '#802b72',
    950: '#000000',
  },
}
SCSS
$custom: #802b72;
$custom-light: #a86b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#802b72",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 309.882,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.14494,
    "h": 334.9
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#802B72
secondary
#58AE67
accent
#D9654F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802B72

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

Preview Lab → · Contrast checker → · Palette generator →

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