#802378#802378

#802378 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.161 H 331.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#802378
RGBrgb(128, 35, 120)
HSLhsl(305, 57%, 32%)
HSVhsv(305, 73%, 50%)
CMYKcmyk(0%, 72.7%, 6.3%, 49.8%)
CIE-LABlab(32.14, 49.40, -27.70)
CIE-LCHlch(32.14, 56.64, 330.72°)
OKLaboklab(43.61% 0.1413 -0.0762)
OKLCHoklch(43.61% 0.161 331.7)
XYZxyz(12.8933, 7.1483, 18.4664)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802378 #23802B
analogous
#5A2380 #802378 #80234A
triadic
#802378 #788023 #237880
tetradic
#802378 #805A23 #23802B #234A80
square
#802378 #805A23 #23802B #234A80
split-complementary
#802378 #4A8023 #23805A
monochromatic
#20091E #50164B #802378 #B030A5 #CF4FC4

Accessibility & contrast

On white

8.64
#802378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#802378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802378
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802378#FFFFFF#000000##FFFFFF
##8023781.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D437A
Deuteranopia (green-blind)
#405076
Tritanopia (blue-blind)
#852D4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802378;
/* rgb */ color: rgb(128, 35, 120);
/* oklch */ color: oklch(43.6% 0.161 331.7);
Tailwind
colors: {
  custom: {
    50: '#a8679f',
    500: '#802378',
    950: '#000000',
  },
}
SCSS
$custom: #802378;
$custom-light: #a8679f;
$custom-dark: #000000;
JSON
{
  "hex": "#802378",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 305.161,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43614,
    "c": 0.16055,
    "h": 331.7
  },
  "luminance": 0.07147
}

Semantic roles & 50–950 ramp

primary
#802378
secondary
#4DB255
accent
#E05547
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802378

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

Preview Lab → · Contrast checker → · Palette generator →

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