#802491#802491

#802491 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.180 H 320.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#802491
RGBrgb(128, 36, 145)
HSLhsl(291, 60%, 35%)
HSVhsv(291, 75%, 57%)
CMYKcmyk(11.7%, 75.2%, 0%, 43.1%)
CIE-LABlab(33.77, 53.54, -40.67)
CIE-LCHlch(33.77, 67.23, 322.77°)
OKLaboklab(45.26% 0.14 -0.1139)
OKLCHoklch(45.26% 0.18 320.9)
XYZxyz(14.6432, 7.8961, 27.5354)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802491 #359124
analogous
#492491 #802491 #91246B
triadic
#802491 #918024 #249180
tetradic
#802491 #914924 #359124 #246B91
square
#802491 #914924 #359124 #246B91
split-complementary
#802491 #6B9124 #249149
monochromatic
#290C2F #551860 #802491 #AB30C2 #C359D6

Accessibility & contrast

On white

8.14
#802491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#802491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802491
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802491#FFFFFF#000000##FFFFFF
##8024911.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#30538E
Tritanopia (blue-blind)
#813959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802491;
/* rgb */ color: rgb(128, 36, 145);
/* oklch */ color: oklch(45.3% 0.180 320.9);
Tailwind
colors: {
  custom: {
    50: '#a869b2',
    500: '#802491',
    950: '#000000',
  },
}
SCSS
$custom: #802491;
$custom-light: #a869b2;
$custom-dark: #000000;
JSON
{
  "hex": "#802491",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 290.642,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45257,
    "c": 0.18047,
    "h": 320.9
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#802491
secondary
#66BA56
accent
#E3445D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802491

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

Preview Lab → · Contrast checker → · Palette generator →

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