#802074#802074

#802074 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.161 H 333.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#802074
RGBrgb(128, 32, 116)
HSLhsl(308, 60%, 31%)
HSVhsv(308, 75%, 50%)
CMYKcmyk(0%, 75%, 9.4%, 49.8%)
CIE-LABlab(31.54, 49.83, -26.12)
CIE-LCHlch(31.54, 56.26, 332.34°)
OKLaboklab(43.11% 0.1442 -0.0716)
OKLCHoklch(43.11% 0.161 333.6)
XYZxyz(12.5711, 6.8842, 17.1863)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802074 #20802C
analogous
#5C2080 #802074 #802044
triadic
#802074 #748020 #207480
tetradic
#802074 #805C20 #20802C #204480
square
#802074 #805C20 #20802C #204480
split-complementary
#802074 #448020 #20805C
monochromatic
#1E081B #4F1448 #802074 #B12CA0 #D149C0

Accessibility & contrast

On white

8.84
#802074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#802074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802074
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802074#FFFFFF#000000##FFFFFF
##8020741.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#404F72
Tritanopia (blue-blind)
#862948
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802074;
/* rgb */ color: rgb(128, 32, 116);
/* oklch */ color: oklch(43.1% 0.161 333.6);
Tailwind
colors: {
  custom: {
    50: '#a8669c',
    500: '#802074',
    950: '#000000',
  },
}
SCSS
$custom: #802074;
$custom-light: #a8669c;
$custom-dark: #000000;
JSON
{
  "hex": "#802074",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 307.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43111,
    "c": 0.16102,
    "h": 333.6
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#802074
secondary
#49B356
accent
#E35845
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802074

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

Preview Lab → · Contrast checker → · Palette generator →

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