#802481#802481

#802481 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.167 H 327.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#802481
RGBrgb(128, 36, 129)
HSLhsl(299, 56%, 32%)
HSVhsv(299, 72%, 51%)
CMYKcmyk(0.8%, 72.1%, 0%, 49.4%)
CIE-LABlab(32.78, 50.58, -32.34)
CIE-LCHlch(32.78, 60.03, 327.41°)
OKLaboklab(44.24% 0.1406 -0.0896)
OKLCHoklch(44.24% 0.167 327.5)
XYZxyz(13.4952, 7.4369, 21.4893)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802481 #258124
analogous
#522481 #802481 #812453
triadic
#802481 #818024 #248180
tetradic
#802481 #815224 #258124 #245381
square
#802481 #815224 #258124 #245381
split-complementary
#802481 #538124 #248152
monochromatic
#210921 #511751 #802481 #AF31B1 #CD51CE

Accessibility & contrast

On white

8.44
#802481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802481
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802481#FFFFFF#000000##FFFFFF
##8024811.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134584
Deuteranopia (green-blind)
#3B517F
Tritanopia (blue-blind)
#843250
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802481;
/* rgb */ color: rgb(128, 36, 129);
/* oklch */ color: oklch(44.2% 0.167 327.5);
Tailwind
colors: {
  custom: {
    50: '#a868a6',
    500: '#802481',
    950: '#000000',
  },
}
SCSS
$custom: #802481;
$custom-light: #a868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#802481",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 299.355,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44238,
    "c": 0.16671,
    "h": 327.5
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#802481
secondary
#50B24E
accent
#E0484A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802481

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

Preview Lab → · Contrast checker → · Palette generator →

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