#802C74#802C74

#802C74 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.145 H 333.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#802C74
RGBrgb(128, 44, 116)
HSLhsl(309, 49%, 34%)
HSVhsv(309, 66%, 50%)
CMYKcmyk(0%, 65.6%, 9.4%, 49.8%)
CIE-LABlab(33.25, 45.04, -23.44)
CIE-LCHlch(33.25, 50.78, 332.50°)
OKLaboklab(44.35% 0.1302 -0.064)
OKLCHoklch(44.35% 0.145 333.8)
XYZxyz(12.9552, 7.6525, 17.3144)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C74 #2C8038
analogous
#622C80 #802C74 #802C4A
triadic
#802C74 #74802C #2C7480
tetradic
#802C74 #80622C #2C8038 #2C4A80
square
#802C74 #80622C #2C8038 #2C4A80
split-complementary
#802C74 #4A802C #2C8062
monochromatic
#250D21 #521C4B #802C74 #AE3C9D #C85FB9

Accessibility & contrast

On white

8.30
#802C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C74
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C74#FFFFFF#000000##FFFFFF
##802C741.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#465372
Tritanopia (blue-blind)
#86324C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802c74;
/* rgb */ color: rgb(128, 44, 116);
/* oklch */ color: oklch(44.3% 0.145 333.8);
Tailwind
colors: {
  custom: {
    50: '#a76c9c',
    500: '#802c74',
    950: '#000000',
  },
}
SCSS
$custom: #802c74;
$custom-light: #a76c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#802c74",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 308.571,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.1451,
    "h": 333.8
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#802C74
secondary
#5AAE66
accent
#D8634F
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802C74

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

Preview Lab → · Contrast checker → · Palette generator →

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