#77218D#77218D

#77218D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.177 H 318.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#77218D
RGBrgb(119, 33, 141)
HSLhsl(288, 62%, 34%)
HSVhsv(288, 77%, 55%)
CMYKcmyk(15.6%, 76.6%, 0%, 44.7%)
CIE-LABlab(31.65, 51.93, -41.68)
CIE-LCHlch(31.65, 66.59, 321.25°)
OKLaboklab(43.38% 0.1321 -0.1171)
OKLCHoklch(43.38% 0.177 318.4)
XYZxyz(12.9587, 6.9333, 25.8498)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77218D #378D21
analogous
#41218D #77218D #8D216D
triadic
#77218D #8D7721 #218D77
tetradic
#77218D #8D4121 #378D21 #216D8D
square
#77218D #8D4121 #378D21 #216D8D
split-complementary
#77218D #6D8D21 #218D41
monochromatic
#230A2A #4D155B #77218D #A12DBF #BB52D6

Accessibility & contrast

On white

8.80
#77218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#77218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77218D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77218D#FFFFFF#000000##FFFFFF
##77218D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#773856
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77218d;
/* rgb */ color: rgb(119, 33, 141);
/* oklch */ color: oklch(43.4% 0.177 318.4);
Tailwind
colors: {
  custom: {
    50: '#a266af',
    500: '#77218d',
    950: '#000000',
  },
}
SCSS
$custom: #77218d;
$custom-light: #a266af;
$custom-dark: #000000;
JSON
{
  "hex": "#77218d",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 287.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.17651,
    "h": 318.4
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#77218D
secondary
#65BA50
accent
#E54364
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77218D

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

Preview Lab → · Contrast checker → · Palette generator →

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