#802F71#802F71

#802F71 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.138 H 335.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#802F71
RGBrgb(128, 47, 113)
HSLhsl(311, 46%, 34%)
HSVhsv(311, 63%, 50%)
CMYKcmyk(0%, 63.3%, 11.7%, 49.8%)
CIE-LABlab(33.60, 43.17, -21.01)
CIE-LCHlch(33.60, 48.01, 334.05°)
OKLaboklab(44.55% 0.1258 -0.0571)
OKLCHoklch(44.55% 0.138 335.6)
XYZxyz(12.8994, 7.8155, 16.4487)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F71 #2F803E
analogous
#672F80 #802F71 #802F49
triadic
#802F71 #71802F #2F7180
tetradic
#802F71 #80672F #2F803E #2F4980
square
#802F71 #80672F #2F803E #2F4980
split-complementary
#802F71 #49802F #2F8067
monochromatic
#260E22 #531F49 #802F71 #AD3F99 #C663B4

Accessibility & contrast

On white

8.19
#802F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#802F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F71
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F71#FFFFFF#000000##FFFFFF
##802F711.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4773
Deuteranopia (green-blind)
#49536F
Tritanopia (blue-blind)
#86344B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802f71;
/* rgb */ color: rgb(128, 47, 113);
/* oklch */ color: oklch(44.6% 0.138 335.6);
Tailwind
colors: {
  custom: {
    50: '#a76d9a',
    500: '#802f71',
    950: '#000000',
  },
}
SCSS
$custom: #802f71;
$custom-light: #a76d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#802f71",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 311.111,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44553,
    "c": 0.13813,
    "h": 335.6
  },
  "luminance": 0.07814
}

Semantic roles & 50–950 ramp

primary
#802F71
secondary
#5EAD6D
accent
#D66A52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802F71

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

Preview Lab → · Contrast checker → · Palette generator →

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