#77187A#77187A

#77187A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.170 H 326.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#77187A
RGBrgb(119, 24, 122)
HSLhsl(298, 67%, 29%)
HSVhsv(298, 80%, 48%)
CMYKcmyk(2.5%, 80.3%, 0%, 52.2%)
CIE-LABlab(29.36, 51.38, -33.47)
CIE-LCHlch(29.36, 61.32, 326.92°)
OKLaboklab(41.36% 0.1418 -0.093)
OKLCHoklch(41.36% 0.17 326.7)
XYZxyz(11.4470, 5.9812, 18.9601)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77187A #1B7A18
analogous
#46187A #77187A #7A184C
triadic
#77187A #7A7718 #187A77
tetradic
#77187A #7A4618 #1B7A18 #184C7A
square
#77187A #7A4618 #1B7A18 #184C7A
split-complementary
#77187A #4C7A18 #187A46
monochromatic
#19051A #450E47 #77187A #A922AD #D235D7

Accessibility & contrast

On white

9.56
#77187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#77187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77187A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77187A#FFFFFF#000000##FFFFFF
##77187A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#7A2A49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #77187a;
/* rgb */ color: rgb(119, 24, 122);
/* oklch */ color: oklch(41.4% 0.170 326.7);
Tailwind
colors: {
  custom: {
    50: '#a262a1',
    500: '#77187a',
    950: '#000000',
  },
}
SCSS
$custom: #77187a;
$custom-light: #a262a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77187a",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 298.163,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.16964,
    "h": 326.7
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#77187A
secondary
#42AF3F
accent
#EA3E43
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #77187A

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

Preview Lab → · Contrast checker → · Palette generator →

#77187A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva