#802064#802064

#802064 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.149 H 342.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#802064
RGBrgb(128, 32, 100)
HSLhsl(318, 60%, 31%)
HSVhsv(318, 75%, 50%)
CMYKcmyk(0%, 75%, 21.9%, 49.8%)
CIE-LABlab(30.74, 47.38, -17.13)
CIE-LCHlch(30.74, 50.38, 340.13°)
OKLaboklab(42.28% 0.1422 -0.046)
OKLCHoklch(42.28% 0.149 342.1)
XYZxyz(11.7192, 6.5435, 12.7000)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802064 #20803C
analogous
#6C2080 #802064 #802034
triadic
#802064 #648020 #206480
tetradic
#802064 #806C20 #20803C #203480
square
#802064 #806C20 #20803C #203480
split-complementary
#802064 #348020 #20806C
monochromatic
#1E0818 #4F143E #802064 #B12C8A #D149AA

Accessibility & contrast

On white

9.10
#802064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#802064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802064
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802064#FFFFFF#000000##FFFFFF
##8020641.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E66
Deuteranopia (green-blind)
#474E62
Tritanopia (blue-blind)
#88213F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802064;
/* rgb */ color: rgb(128, 32, 100);
/* oklch */ color: oklch(42.3% 0.149 342.1);
Tailwind
colors: {
  custom: {
    50: '#a86590',
    500: '#802064',
    950: '#000000',
  },
}
SCSS
$custom: #802064;
$custom-light: #a86590;
$custom-dark: #000000;
JSON
{
  "hex": "#802064",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 317.5,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.14944,
    "h": 342.1
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#802064
secondary
#49B368
accent
#E37345
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #802064

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

Preview Lab → · Contrast checker → · Palette generator →

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