#802374#802374

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

Color values

HEX#802374
RGBrgb(128, 35, 116)
HSLhsl(308, 57%, 32%)
HSVhsv(308, 73%, 50%)
CMYKcmyk(0%, 72.7%, 9.4%, 49.8%)
CIE-LABlab(31.93, 48.73, -25.51)
CIE-LCHlch(31.93, 55.01, 332.37°)
OKLaboklab(43.39% 0.141 -0.0699)
OKLCHoklch(43.39% 0.157 333.6)
XYZxyz(12.6556, 7.0533, 17.2145)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802374 #23802F
analogous
#5E2380 #802374 #802346
triadic
#802374 #748023 #237480
tetradic
#802374 #805E23 #23802F #234680
square
#802374 #805E23 #23802F #234680
split-complementary
#802374 #468023 #23805E
monochromatic
#20091D #501648 #802374 #B030A0 #CF4FBE

Accessibility & contrast

On white

8.71
#802374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802374
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802374#FFFFFF#000000##FFFFFF
##8023741.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#425072
Tritanopia (blue-blind)
#862B49
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802374;
/* rgb */ color: rgb(128, 35, 116);
/* oklch */ color: oklch(43.4% 0.157 333.6);
Tailwind
colors: {
  custom: {
    50: '#a8679c',
    500: '#802374',
    950: '#000000',
  },
}
SCSS
$custom: #802374;
$custom-light: #a8679c;
$custom-dark: #000000;
JSON
{
  "hex": "#802374",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 307.742,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4339,
    "c": 0.15739,
    "h": 333.6
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#802374
secondary
#4DB25A
accent
#E05B47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802374

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

Preview Lab → · Contrast checker → · Palette generator →

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