#804591#804591

#804591 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.3% C 0.132 H 318.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#804591
RGBrgb(128, 69, 145)
HSLhsl(287, 36%, 42%)
HSVhsv(287, 52%, 57%)
CMYKcmyk(11.7%, 52.4%, 0%, 43.1%)
CIE-LABlab(39.40, 38.11, -31.73)
CIE-LCHlch(39.40, 49.59, 320.22°)
OKLaboklab(49.34% 0.0988 -0.0881)
OKLCHoklch(49.34% 0.132 318.3)
XYZxyz(16.1403, 10.8904, 28.0344)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804591 #569145
analogous
#5A4591 #804591 #91457C
triadic
#804591 #918045 #459180
tetradic
#804591 #915A45 #569145 #457C91
square
#804591 #915A45 #569145 #457C91
split-complementary
#804591 #7C9145 #45915A
monochromatic
#371E3E #5B3168 #804591 #A160B3 #B989C7

Accessibility & contrast

On white

6.61
#804591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#804591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804591
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804591#FFFFFF#000000##FFFFFF
##8045911.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365994
Deuteranopia (green-blind)
#495F8F
Tritanopia (blue-blind)
#805064
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #804591;
/* rgb */ color: rgb(128, 69, 145);
/* oklch */ color: oklch(49.3% 0.132 318.3);
Tailwind
colors: {
  custom: {
    50: '#a77bb1',
    500: '#804591',
    950: '#000000',
  },
}
SCSS
$custom: #804591;
$custom-light: #a77bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#804591",
  "rgb": {
    "r": 128,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 286.579,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.13236,
    "h": 318.3
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#804591
secondary
#8BB280
accent
#CC5C75
background
#FAF7FA
surface
#F4EEF5
border
#CEC9CF
text
#100911
muted
#7F7B80

Preview Lab

Preview with #804591

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

Preview Lab → · Contrast checker → · Palette generator →

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