#802D75#802D75

#802D75 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.144 H 333.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#802D75
RGBrgb(128, 45, 117)
HSLhsl(308, 48%, 34%)
HSVhsv(308, 65%, 50%)
CMYKcmyk(0%, 64.8%, 8.6%, 49.8%)
CIE-LABlab(33.46, 44.77, -23.74)
CIE-LCHlch(33.46, 50.67, 332.06°)
OKLaboklab(44.52% 0.1291 -0.0649)
OKLCHoklch(44.52% 0.144 333.3)
XYZxyz(13.0514, 7.7513, 17.6349)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D75 #2D8038
analogous
#622D80 #802D75 #802D4C
triadic
#802D75 #75802D #2D7580
tetradic
#802D75 #80622D #2D8038 #2D4C80
square
#802D75 #80622D #2D8038 #2D4C80
split-complementary
#802D75 #4C802D #2D8062
monochromatic
#250D22 #531D4C #802D75 #AD3D9E #C760BA

Accessibility & contrast

On white

8.24
#802D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#802D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D75
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D75#FFFFFF#000000##FFFFFF
##802D751.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4777
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#86344C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802d75;
/* rgb */ color: rgb(128, 45, 117);
/* oklch */ color: oklch(44.5% 0.144 333.3);
Tailwind
colors: {
  custom: {
    50: '#a76c9d',
    500: '#802d75',
    950: '#000000',
  },
}
SCSS
$custom: #802d75;
$custom-light: #a76c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#802d75",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 307.952,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44518,
    "c": 0.14445,
    "h": 333.3
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#802D75
secondary
#5BAE66
accent
#D86250
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802D75

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

Preview Lab → · Contrast checker → · Palette generator →

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