#802281#802281

#802281 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.169 H 327.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#802281
RGBrgb(128, 34, 129)
HSLhsl(299, 58%, 32%)
HSVhsv(299, 74%, 51%)
CMYKcmyk(0.8%, 73.6%, 0%, 49.4%)
CIE-LABlab(32.52, 51.32, -32.75)
CIE-LCHlch(32.52, 60.88, 327.46°)
OKLaboklab(44.05% 0.1427 -0.0908)
OKLCHoklch(44.05% 0.169 327.5)
XYZxyz(13.4364, 7.3192, 21.4697)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802281 #238122
analogous
#502281 #802281 #812253
triadic
#802281 #818022 #228180
tetradic
#802281 #815022 #238122 #225381
square
#802281 #815022 #238122 #225381
split-complementary
#802281 #538122 #228150
monochromatic
#200820 #501551 #802281 #B02FB1 #CF4DD0

Accessibility & contrast

On white

8.52
#802281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#802281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802281
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802281#FFFFFF#000000##FFFFFF
##8022811.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4584
Deuteranopia (green-blind)
#3A517F
Tritanopia (blue-blind)
#84314F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802281;
/* rgb */ color: rgb(128, 34, 129);
/* oklch */ color: oklch(44.1% 0.169 327.5);
Tailwind
colors: {
  custom: {
    50: '#a867a6',
    500: '#802281',
    950: '#000000',
  },
}
SCSS
$custom: #802281;
$custom-light: #a867a6;
$custom-dark: #000000;
JSON
{
  "hex": "#802281",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 299.368,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.16909,
    "h": 327.5
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#802281
secondary
#4DB34B
accent
#E14648
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802281

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

Preview Lab → · Contrast checker → · Palette generator →

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