#802279#802279

#802279 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.163 H 331.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#802279
RGBrgb(128, 34, 121)
HSLhsl(304, 58%, 32%)
HSVhsv(304, 73%, 50%)
CMYKcmyk(0%, 73.4%, 5.5%, 49.8%)
CIE-LABlab(32.07, 49.94, -28.45)
CIE-LCHlch(32.07, 57.47, 330.33°)
OKLaboklab(43.58% 0.1425 -0.0783)
OKLCHoklch(43.58% 0.163 331.2)
XYZxyz(12.9253, 7.1147, 18.7780)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802279 #228029
analogous
#582280 #802279 #80224A
triadic
#802279 #798022 #227980
tetradic
#802279 #805822 #228029 #224A80
square
#802279 #805822 #228029 #224A80
split-complementary
#802279 #4A8022 #228058
monochromatic
#1F081E #50154B #802279 #B02FA7 #D04DC6

Accessibility & contrast

On white

8.67
#802279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#802279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802279
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802279#FFFFFF#000000##FFFFFF
##8022791.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#852D4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802279;
/* rgb */ color: rgb(128, 34, 121);
/* oklch */ color: oklch(43.6% 0.163 331.2);
Tailwind
colors: {
  custom: {
    50: '#a867a0',
    500: '#802279',
    950: '#000000',
  },
}
SCSS
$custom: #802279;
$custom-light: #a867a0;
$custom-dark: #000000;
JSON
{
  "hex": "#802279",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 304.468,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43577,
    "c": 0.16257,
    "h": 331.2
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#802279
secondary
#4BB253
accent
#E15247
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802279

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

Preview Lab → · Contrast checker → · Palette generator →

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