#802092#802092

#802092 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.186 H 320.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#802092
RGBrgb(128, 32, 146)
HSLhsl(291, 64%, 35%)
HSVhsv(291, 78%, 57%)
CMYKcmyk(12.3%, 78.1%, 0%, 42.7%)
CIE-LABlab(33.35, 55.12, -41.96)
CIE-LCHlch(33.35, 69.27, 322.72°)
OKLaboklab(44.98% 0.1436 -0.1176)
OKLCHoklch(44.98% 0.186 320.7)
XYZxyz(14.6063, 7.6983, 27.9051)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802092 #329220
analogous
#472092 #802092 #92206B
triadic
#802092 #928020 #209280
tetradic
#802092 #924720 #329220 #206B92
square
#802092 #924720 #329220 #206B92
split-complementary
#802092 #6B9220 #209247
monochromatic
#280A2E #541560 #802092 #AC2BC4 #C453D9

Accessibility & contrast

On white

8.27
#802092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#802092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802092
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802092#FFFFFF#000000##FFFFFF
##8020921.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2D528F
Tritanopia (blue-blind)
#813858
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802092;
/* rgb */ color: rgb(128, 32, 146);
/* oklch */ color: oklch(45.0% 0.186 320.7);
Tailwind
colors: {
  custom: {
    50: '#a967b2',
    500: '#802092',
    950: '#000000',
  },
}
SCSS
$custom: #802092;
$custom-light: #a967b2;
$custom-dark: #000000;
JSON
{
  "hex": "#802092",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 290.526,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44981,
    "c": 0.18563,
    "h": 320.7
  },
  "luminance": 0.07698
}

Semantic roles & 50–950 ramp

primary
#802092
secondary
#62BD51
accent
#E7415B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802092

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

Preview Lab → · Contrast checker → · Palette generator →

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