#77218A#77218A

#77218A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.174 H 319.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#77218A
RGBrgb(119, 33, 138)
HSLhsl(289, 61%, 34%)
HSVhsv(289, 76%, 54%)
CMYKcmyk(13.8%, 76.1%, 0%, 45.9%)
CIE-LABlab(31.45, 51.34, -40.15)
CIE-LCHlch(31.45, 65.17, 321.98°)
OKLaboklab(43.17% 0.1324 -0.1126)
OKLCHoklch(43.17% 0.174 319.6)
XYZxyz(12.7385, 6.8453, 24.6901)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77218A #348A21
analogous
#42218A #77218A #8A2168
triadic
#77218A #8A7721 #218A77
tetradic
#77218A #8A4221 #348A21 #21688A
square
#77218A #8A4221 #348A21 #21688A
split-complementary
#77218A #688A21 #218A42
monochromatic
#220927 #4C1559 #77218A #A22DBB #BD50D5

Accessibility & contrast

On white

8.86
#77218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#77218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77218A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77218A#FFFFFF#000000##FFFFFF
##77218A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#2A4D88
Tritanopia (blue-blind)
#773654
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77218a;
/* rgb */ color: rgb(119, 33, 138);
/* oklch */ color: oklch(43.2% 0.174 319.6);
Tailwind
colors: {
  custom: {
    50: '#a266ad',
    500: '#77218a',
    950: '#000000',
  },
}
SCSS
$custom: #77218a;
$custom-light: #a266ad;
$custom-dark: #000000;
JSON
{
  "hex": "#77218a",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 289.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43173,
    "c": 0.17382,
    "h": 319.6
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#77218A
secondary
#61B94E
accent
#E54360
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77218A

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

Preview Lab → · Contrast checker → · Palette generator →

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