#802283#802283

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

Color values

HEX#802283
RGBrgb(128, 34, 131)
HSLhsl(298, 59%, 32%)
HSVhsv(298, 74%, 51%)
CMYKcmyk(2.3%, 74%, 0%, 48.6%)
CIE-LABlab(32.64, 51.67, -33.81)
CIE-LCHlch(32.64, 61.75, 326.80°)
OKLaboklab(44.18% 0.1427 -0.0938)
OKLCHoklch(44.18% 0.171 326.7)
XYZxyz(13.5706, 7.3729, 22.1767)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802283 #258322
analogous
#4F2283 #802283 #832256
triadic
#802283 #838022 #228380
tetradic
#802283 #834F22 #258322 #225683
square
#802283 #834F22 #258322 #225683
split-complementary
#802283 #568322 #22834F
monochromatic
#210922 #511552 #802283 #AF2FB4 #CD4ED1

Accessibility & contrast

On white

8.49
#802283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802283
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802283#FFFFFF#000000##FFFFFF
##8022831.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4586
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#843250
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802283;
/* rgb */ color: rgb(128, 34, 131);
/* oklch */ color: oklch(44.2% 0.171 326.7);
Tailwind
colors: {
  custom: {
    50: '#a867a7',
    500: '#802283',
    950: '#000000',
  },
}
SCSS
$custom: #802283;
$custom-light: #a867a7;
$custom-dark: #000000;
JSON
{
  "hex": "#802283",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 298.144,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.17075,
    "h": 326.7
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#802283
secondary
#50B44C
accent
#E2464B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802283

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

Preview Lab → · Contrast checker → · Palette generator →

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