#802291#802291

#802291 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.183 H 321.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#802291
RGBrgb(128, 34, 145)
HSLhsl(291, 62%, 35%)
HSVhsv(291, 77%, 57%)
CMYKcmyk(11.7%, 76.6%, 0%, 43.1%)
CIE-LABlab(33.52, 54.25, -41.07)
CIE-LCHlch(33.52, 68.04, 322.87°)
OKLaboklab(45.08% 0.1419 -0.115)
OKLCHoklch(45.08% 0.183 321)
XYZxyz(14.5844, 7.7784, 27.5157)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802291 #339122
analogous
#492291 #802291 #91226A
triadic
#802291 #918022 #229180
tetradic
#802291 #914922 #339122 #226A91
square
#802291 #914922 #339122 #226A91
split-complementary
#802291 #6A9122 #229149
monochromatic
#280B2E #54165F #802291 #AC2EC3 #C456D7

Accessibility & contrast

On white

8.22
#802291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#802291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802291
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802291#FFFFFF#000000##FFFFFF
##8022911.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#813858
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802291;
/* rgb */ color: rgb(128, 34, 145);
/* oklch */ color: oklch(45.1% 0.183 321.0);
Tailwind
colors: {
  custom: {
    50: '#a868b2',
    500: '#802291',
    950: '#000000',
  },
}
SCSS
$custom: #802291;
$custom-light: #a868b2;
$custom-dark: #000000;
JSON
{
  "hex": "#802291",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 290.811,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4508,
    "c": 0.18267,
    "h": 321
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#802291
secondary
#63BB53
accent
#E5435C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802291

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

Preview Lab → · Contrast checker → · Palette generator →

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