#802372#802372

#802372 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.156 H 334.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#802372
RGBrgb(128, 35, 114)
HSLhsl(309, 57%, 32%)
HSVhsv(309, 73%, 50%)
CMYKcmyk(0%, 72.7%, 10.9%, 49.8%)
CIE-LABlab(31.82, 48.41, -24.41)
CIE-LCHlch(31.82, 54.21, 333.24°)
OKLaboklab(43.28% 0.1409 -0.0667)
OKLCHoklch(43.28% 0.156 334.7)
XYZxyz(12.5405, 7.0072, 16.6084)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802372 #238031
analogous
#602380 #802372 #802344
triadic
#802372 #728023 #237280
tetradic
#802372 #806023 #238031 #234480
square
#802372 #806023 #238031 #234480
split-complementary
#802372 #448023 #238060
monochromatic
#20091C #501647 #802372 #B0309D #CF4FBB

Accessibility & contrast

On white

8.75
#802372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#802372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802372
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802372#FFFFFF#000000##FFFFFF
##8023721.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802372;
/* rgb */ color: rgb(128, 35, 114);
/* oklch */ color: oklch(43.3% 0.156 334.7);
Tailwind
colors: {
  custom: {
    50: '#a8679b',
    500: '#802372',
    950: '#000000',
  },
}
SCSS
$custom: #802372;
$custom-light: #a8679b;
$custom-dark: #000000;
JSON
{
  "hex": "#802372",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 309.032,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.15584,
    "h": 334.7
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#802372
secondary
#4DB25C
accent
#E05E47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802372

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

Preview Lab → · Contrast checker → · Palette generator →

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