#802282#802282

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

Color values

HEX#802282
RGBrgb(128, 34, 130)
HSLhsl(299, 59%, 32%)
HSVhsv(299, 74%, 51%)
CMYKcmyk(1.5%, 73.8%, 0%, 49%)
CIE-LABlab(32.58, 51.49, -33.28)
CIE-LCHlch(32.58, 61.31, 327.13°)
OKLaboklab(44.11% 0.1427 -0.0923)
OKLCHoklch(44.11% 0.17 327.1)
XYZxyz(13.5032, 7.3459, 21.8214)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802282 #248222
analogous
#502282 #802282 #822254
triadic
#802282 #828022 #228280
tetradic
#802282 #825022 #248222 #225482
square
#802282 #825022 #248222 #225482
split-complementary
#802282 #548222 #228250
monochromatic
#200921 #501551 #802282 #B02FB3 #CE4ED1

Accessibility & contrast

On white

8.51
#802282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802282
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802282#FFFFFF#000000##FFFFFF
##8022821.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4585
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#843150
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802282;
/* rgb */ color: rgb(128, 34, 130);
/* oklch */ color: oklch(44.1% 0.170 327.1);
Tailwind
colors: {
  custom: {
    50: '#a867a7',
    500: '#802282',
    950: '#000000',
  },
}
SCSS
$custom: #802282;
$custom-light: #a867a7;
$custom-dark: #000000;
JSON
{
  "hex": "#802282",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 298.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44113,
    "c": 0.16992,
    "h": 327.1
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#802282
secondary
#4EB44C
accent
#E24649
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802282

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

Preview Lab → · Contrast checker → · Palette generator →

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