#802273#802273

#802273 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.158 H 334.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#802273
RGBrgb(128, 34, 115)
HSLhsl(308, 58%, 32%)
HSVhsv(308, 73%, 50%)
CMYKcmyk(0%, 73.4%, 10.2%, 49.8%)
CIE-LABlab(31.74, 48.94, -25.17)
CIE-LCHlch(31.74, 55.04, 332.79°)
OKLaboklab(43.24% 0.142 -0.0689)
OKLCHoklch(43.24% 0.158 334.1)
XYZxyz(12.5687, 6.9721, 16.9001)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802273 #22802F
analogous
#5E2280 #802273 #802244
triadic
#802273 #738022 #227380
tetradic
#802273 #805E22 #22802F #224480
square
#802273 #805E22 #22802F #224480
split-complementary
#802273 #448022 #22805E
monochromatic
#1F081C #501548 #802273 #B02F9E #D04DBE

Accessibility & contrast

On white

8.77
#802273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#802273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802273
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802273#FFFFFF#000000##FFFFFF
##8022731.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204275
Deuteranopia (green-blind)
#425071
Tritanopia (blue-blind)
#862A48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802273;
/* rgb */ color: rgb(128, 34, 115);
/* oklch */ color: oklch(43.2% 0.158 334.1);
Tailwind
colors: {
  custom: {
    50: '#a8679b',
    500: '#802273',
    950: '#000000',
  },
}
SCSS
$custom: #802273;
$custom-light: #a8679b;
$custom-dark: #000000;
JSON
{
  "hex": "#802273",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 308.298,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.15785,
    "h": 334.1
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#802273
secondary
#4BB25A
accent
#E15C47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802273

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

Preview Lab → · Contrast checker → · Palette generator →

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