#802377#802377

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

Color values

HEX#802377
RGBrgb(128, 35, 119)
HSLhsl(306, 57%, 32%)
HSVhsv(306, 73%, 50%)
CMYKcmyk(0%, 72.7%, 7%, 49.8%)
CIE-LABlab(32.09, 49.23, -27.16)
CIE-LCHlch(32.09, 56.22, 331.12°)
OKLaboklab(43.56% 0.1413 -0.0746)
OKLCHoklch(43.56% 0.16 332.2)
XYZxyz(12.8329, 7.1242, 18.1484)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802377 #23802C
analogous
#5A2380 #802377 #802349
triadic
#802377 #778023 #237780
tetradic
#802377 #805A23 #23802C #234980
square
#802377 #805A23 #23802C #234980
split-complementary
#802377 #498023 #23805A
monochromatic
#20091E #50164A #802377 #B030A4 #CF4FC2

Accessibility & contrast

On white

8.66
#802377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#802377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802377
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802377#FFFFFF#000000##FFFFFF
##8023771.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4379
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#862D4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802377;
/* rgb */ color: rgb(128, 35, 119);
/* oklch */ color: oklch(43.6% 0.160 332.2);
Tailwind
colors: {
  custom: {
    50: '#a8679e',
    500: '#802377',
    950: '#000000',
  },
}
SCSS
$custom: #802377;
$custom-light: #a8679e;
$custom-dark: #000000;
JSON
{
  "hex": "#802377",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 305.806,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.15975,
    "h": 332.2
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#802377
secondary
#4DB256
accent
#E05647
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802377

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

Preview Lab → · Contrast checker → · Palette generator →

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