#802679#802679

#802679 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.158 H 331.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#802679
RGBrgb(128, 38, 121)
HSLhsl(305, 54%, 33%)
HSVhsv(305, 70%, 50%)
CMYKcmyk(0%, 70.3%, 5.5%, 49.8%)
CIE-LABlab(32.61, 48.41, -27.60)
CIE-LCHlch(32.61, 55.73, 330.31°)
OKLaboklab(43.97% 0.1381 -0.0759)
OKLCHoklch(43.97% 0.158 331.2)
XYZxyz(13.0464, 7.3569, 18.8183)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802679 #26802D
analogous
#5A2680 #802679 #80264C
triadic
#802679 #798026 #267980
tetradic
#802679 #805A26 #26802D #264C80
square
#802679 #805A26 #26802D #264C80
split-complementary
#802679 #4C8026 #26805A
monochromatic
#220A20 #51184C #802679 #AF34A6 #CC54C3

Accessibility & contrast

On white

8.50
#802679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802679
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802679#FFFFFF#000000##FFFFFF
##8026791.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#85304C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802679;
/* rgb */ color: rgb(128, 38, 121);
/* oklch */ color: oklch(44.0% 0.158 331.2);
Tailwind
colors: {
  custom: {
    50: '#a869a0',
    500: '#802679',
    950: '#000000',
  },
}
SCSS
$custom: #802679;
$custom-light: #a869a0;
$custom-dark: #000000;
JSON
{
  "hex": "#802679",
  "rgb": {
    "r": 128,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 304.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.15755,
    "h": 331.2
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#802679
secondary
#51B158
accent
#DE564A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802679

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

Preview Lab → · Contrast checker → · Palette generator →

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