#802472#802472

#802472 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.155 H 334.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#802472
RGBrgb(128, 36, 114)
HSLhsl(309, 56%, 32%)
HSVhsv(309, 72%, 50%)
CMYKcmyk(0%, 71.9%, 10.9%, 49.8%)
CIE-LABlab(31.96, 48.03, -24.19)
CIE-LCHlch(31.96, 53.78, 333.26°)
OKLaboklab(43.38% 0.1397 -0.0661)
OKLCHoklch(43.38% 0.155 334.7)
XYZxyz(12.5703, 7.0669, 16.6183)
Luminance0.0707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802472 #248032
analogous
#602480 #802472 #802444
triadic
#802472 #728024 #247280
tetradic
#802472 #806024 #248032 #244480
square
#802472 #806024 #248032 #244480
split-complementary
#802472 #448024 #248060
monochromatic
#20091D #501747 #802472 #B0319D #CE50BB

Accessibility & contrast

On white

8.70
#802472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802472
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802472#FFFFFF#000000##FFFFFF
##8024721.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#862B48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802472;
/* rgb */ color: rgb(128, 36, 114);
/* oklch */ color: oklch(43.4% 0.155 334.7);
Tailwind
colors: {
  custom: {
    50: '#a8689b',
    500: '#802472',
    950: '#000000',
  },
}
SCSS
$custom: #802472;
$custom-light: #a8689b;
$custom-dark: #000000;
JSON
{
  "hex": "#802472",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 309.13,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43378,
    "c": 0.15456,
    "h": 334.7
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#802472
secondary
#4EB25D
accent
#DF5F48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802472

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

Preview Lab → · Contrast checker → · Palette generator →

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