#802276#802276

#802276 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.160 H 332.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#802276
RGBrgb(128, 34, 118)
HSLhsl(306, 58%, 32%)
HSVhsv(306, 73%, 50%)
CMYKcmyk(0%, 73.4%, 7.8%, 49.8%)
CIE-LABlab(31.90, 49.44, -26.82)
CIE-LCHlch(31.90, 56.24, 331.52°)
OKLaboklab(43.41% 0.1423 -0.0736)
OKLCHoklch(43.41% 0.16 332.6)
XYZxyz(12.7442, 7.0423, 17.8241)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802276 #22802C
analogous
#5B2280 #802276 #802247
triadic
#802276 #768022 #227680
tetradic
#802276 #805B22 #22802C #224780
square
#802276 #805B22 #22802C #224780
split-complementary
#802276 #478022 #22805B
monochromatic
#1F081D #501549 #802276 #B02FA3 #D04DC2

Accessibility & contrast

On white

8.72
#802276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#802276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802276
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802276#FFFFFF#000000##FFFFFF
##8022761.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#405074
Tritanopia (blue-blind)
#862C49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802276;
/* rgb */ color: rgb(128, 34, 118);
/* oklch */ color: oklch(43.4% 0.160 332.6);
Tailwind
colors: {
  custom: {
    50: '#a8679e',
    500: '#802276',
    950: '#000000',
  },
}
SCSS
$custom: #802276;
$custom-light: #a8679e;
$custom-dark: #000000;
JSON
{
  "hex": "#802276",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 306.383,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.16019,
    "h": 332.6
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#802276
secondary
#4BB256
accent
#E15747
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802276

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

Preview Lab → · Contrast checker → · Palette generator →

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