#802272#802272

#802272 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.157 H 334.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#802272
RGBrgb(128, 34, 114)
HSLhsl(309, 58%, 32%)
HSVhsv(309, 73%, 50%)
CMYKcmyk(0%, 73.4%, 10.9%, 49.8%)
CIE-LABlab(31.69, 48.78, -24.61)
CIE-LCHlch(31.69, 54.64, 333.23°)
OKLaboklab(43.19% 0.142 -0.0673)
OKLCHoklch(43.19% 0.157 334.6)
XYZxyz(12.5115, 6.9492, 16.5987)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802272 #228030
analogous
#5F2280 #802272 #802243
triadic
#802272 #728022 #227280
tetradic
#802272 #805F22 #228030 #224380
square
#802272 #805F22 #228030 #224380
split-complementary
#802272 #438022 #22805F
monochromatic
#1F081C #501547 #802272 #B02F9D #D04DBC

Accessibility & contrast

On white

8.79
#802272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802272
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802272#FFFFFF#000000##FFFFFF
##8022721.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#424F70
Tritanopia (blue-blind)
#862A47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802272;
/* rgb */ color: rgb(128, 34, 114);
/* oklch */ color: oklch(43.2% 0.157 334.6);
Tailwind
colors: {
  custom: {
    50: '#a8679b',
    500: '#802272',
    950: '#000000',
  },
}
SCSS
$custom: #802272;
$custom-light: #a8679b;
$custom-dark: #000000;
JSON
{
  "hex": "#802272",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 308.936,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43185,
    "c": 0.15708,
    "h": 334.6
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#802272
secondary
#4BB25B
accent
#E15E47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802272

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

Preview Lab → · Contrast checker → · Palette generator →

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