#802068#802068

#802068 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.152 H 339.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#802068
RGBrgb(128, 32, 104)
HSLhsl(315, 60%, 31%)
HSVhsv(315, 75%, 50%)
CMYKcmyk(0%, 75%, 18.8%, 49.8%)
CIE-LABlab(30.93, 47.96, -19.41)
CIE-LCHlch(30.93, 51.74, 337.97°)
OKLaboklab(42.47% 0.1429 -0.0524)
OKLCHoklch(42.47% 0.152 339.9)
XYZxyz(11.9176, 6.6229, 13.7447)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802068 #208038
analogous
#682080 #802068 #802038
triadic
#802068 #688020 #206880
tetradic
#802068 #806820 #208038 #203880
square
#802068 #806820 #208038 #203880
split-complementary
#802068 #388020 #208068
monochromatic
#1E0818 #4F1440 #802068 #B12C90 #D149AF

Accessibility & contrast

On white

9.03
#802068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#802068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802068
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802068#FFFFFF#000000##FFFFFF
##8020681.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263F6A
Deuteranopia (green-blind)
#454E66
Tritanopia (blue-blind)
#882341
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802068;
/* rgb */ color: rgb(128, 32, 104);
/* oklch */ color: oklch(42.5% 0.152 339.9);
Tailwind
colors: {
  custom: {
    50: '#a86593',
    500: '#802068',
    950: '#000000',
  },
}
SCSS
$custom: #802068;
$custom-light: #a86593;
$custom-dark: #000000;
JSON
{
  "hex": "#802068",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 315,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42473,
    "c": 0.15218,
    "h": 339.9
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#802068
secondary
#49B363
accent
#E36C45
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #802068

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

Preview Lab → · Contrast checker → · Palette generator →

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