#802972#802972

#802972 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.148 H 334.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#802972
RGBrgb(128, 41, 114)
HSLhsl(310, 51%, 33%)
HSVhsv(310, 68%, 50%)
CMYKcmyk(0%, 68%, 10.9%, 49.8%)
CIE-LABlab(32.68, 46.00, -23.07)
CIE-LCHlch(32.68, 51.46, 333.37°)
OKLaboklab(43.9% 0.1338 -0.0629)
OKLCHoklch(43.9% 0.148 334.8)
XYZxyz(12.7324, 7.3910, 16.6723)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802972 #298037
analogous
#622980 #802972 #802946
triadic
#802972 #728029 #297280
tetradic
#802972 #806229 #298037 #294680
square
#802972 #806229 #298037 #294680
split-complementary
#802972 #468029 #298062
monochromatic
#230B1F #521A49 #802972 #AE389B #CA59B8

Accessibility & contrast

On white

8.47
#802972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#802972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802972
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802972#FFFFFF#000000##FFFFFF
##8029721.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#455270
Tritanopia (blue-blind)
#862F49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802972;
/* rgb */ color: rgb(128, 41, 114);
/* oklch */ color: oklch(43.9% 0.148 334.8);
Tailwind
colors: {
  custom: {
    50: '#a86a9b',
    500: '#802972',
    950: '#000000',
  },
}
SCSS
$custom: #802972;
$custom-light: #a86a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#802972",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 309.655,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43902,
    "c": 0.14781,
    "h": 334.8
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#802972
secondary
#55AF64
accent
#DB644D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802972

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

Preview Lab → · Contrast checker → · Palette generator →

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