#802183#802183

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

Color values

HEX#802183
RGBrgb(128, 33, 131)
HSLhsl(298, 60%, 32%)
HSVhsv(298, 75%, 51%)
CMYKcmyk(2.3%, 74.8%, 0%, 48.6%)
CIE-LABlab(32.52, 52.03, -34.01)
CIE-LCHlch(32.52, 62.15, 326.83°)
OKLaboklab(44.09% 0.1436 -0.0944)
OKLCHoklch(44.09% 0.172 326.7)
XYZxyz(13.5424, 7.3165, 22.1673)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802183 #248321
analogous
#4F2183 #802183 #832155
triadic
#802183 #838021 #218380
tetradic
#802183 #834F21 #248321 #215583
square
#802183 #834F21 #248321 #215583
split-complementary
#802183 #558321 #21834F
monochromatic
#200821 #501552 #802183 #B02DB4 #CE4CD2

Accessibility & contrast

On white

8.53
#802183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#802183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802183
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802183#FFFFFF#000000##FFFFFF
##8021831.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084586
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#843150
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802183;
/* rgb */ color: rgb(128, 33, 131);
/* oklch */ color: oklch(44.1% 0.172 326.7);
Tailwind
colors: {
  custom: {
    50: '#a867a7',
    500: '#802183',
    950: '#000000',
  },
}
SCSS
$custom: #802183;
$custom-light: #a867a7;
$custom-dark: #000000;
JSON
{
  "hex": "#802183",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 298.163,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44086,
    "c": 0.17189,
    "h": 326.7
  },
  "luminance": 0.07316
}

Semantic roles & 50–950 ramp

primary
#802183
secondary
#4EB54B
accent
#E3454A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802183

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

Preview Lab → · Contrast checker → · Palette generator →

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