#802479#802479

#802479 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.160 H 331.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#802479
RGBrgb(128, 36, 121)
HSLhsl(305, 56%, 32%)
HSVhsv(305, 72%, 50%)
CMYKcmyk(0%, 71.9%, 5.5%, 49.8%)
CIE-LABlab(32.33, 49.19, -28.04)
CIE-LCHlch(32.33, 56.62, 330.32°)
OKLaboklab(43.77% 0.1403 -0.0771)
OKLCHoklch(43.77% 0.16 331.2)
XYZxyz(12.9841, 7.2324, 18.7976)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802479 #24802B
analogous
#592480 #802479 #80244B
triadic
#802479 #798024 #247980
tetradic
#802479 #805924 #24802B #244B80
square
#802479 #805924 #24802B #244B80
split-complementary
#802479 #4B8024 #248059
monochromatic
#20091F #50174C #802479 #B031A6 #CE50C4

Accessibility & contrast

On white

8.58
#802479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#802479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802479
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802479#FFFFFF#000000##FFFFFF
##8024791.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#852E4C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802479;
/* rgb */ color: rgb(128, 36, 121);
/* oklch */ color: oklch(43.8% 0.160 331.2);
Tailwind
colors: {
  custom: {
    50: '#a868a0',
    500: '#802479',
    950: '#000000',
  },
}
SCSS
$custom: #802479;
$custom-light: #a868a0;
$custom-dark: #000000;
JSON
{
  "hex": "#802479",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 304.565,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43767,
    "c": 0.16011,
    "h": 331.2
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#802479
secondary
#4EB256
accent
#DF5448
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802479

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

Preview Lab → · Contrast checker → · Palette generator →

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