#802090#802090

#802090 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 321.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#802090
RGBrgb(128, 32, 144)
HSLhsl(291, 64%, 35%)
HSVhsv(291, 78%, 56%)
CMYKcmyk(11.1%, 77.8%, 0%, 43.5%)
CIE-LABlab(33.21, 54.74, -40.94)
CIE-LCHlch(33.21, 68.36, 323.21°)
OKLaboklab(44.85% 0.1438 -0.1147)
OKLCHoklch(44.85% 0.184 321.4)
XYZxyz(14.4521, 7.6366, 27.0929)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802090 #309020
analogous
#482090 #802090 #902068
triadic
#802090 #908020 #209080
tetradic
#802090 #904820 #309020 #206890
square
#802090 #904820 #309020 #206890
split-complementary
#802090 #689020 #209048
monochromatic
#270A2C #53155E #802090 #AD2BC2 #C552D9

Accessibility & contrast

On white

8.31
#802090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802090
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802090#FFFFFF#000000##FFFFFF
##8020901.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#2F528D
Tritanopia (blue-blind)
#813757
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802090;
/* rgb */ color: rgb(128, 32, 144);
/* oklch */ color: oklch(44.8% 0.184 321.4);
Tailwind
colors: {
  custom: {
    50: '#a967b1',
    500: '#802090',
    950: '#000000',
  },
}
SCSS
$custom: #802090;
$custom-light: #a967b1;
$custom-dark: #000000;
JSON
{
  "hex": "#802090",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 291.429,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44845,
    "c": 0.18392,
    "h": 321.4
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#802090
secondary
#5FBC50
accent
#E74159
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802090

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

Preview Lab → · Contrast checker → · Palette generator →

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