#77217A#77217A

#77217A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.160 H 326.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#77217A
RGBrgb(119, 33, 122)
HSLhsl(298, 57%, 30%)
HSVhsv(298, 73%, 48%)
CMYKcmyk(2.5%, 73%, 0%, 52.2%)
CIE-LABlab(30.44, 48.31, -31.76)
CIE-LCHlch(30.44, 57.81, 326.68°)
OKLaboklab(42.12% 0.1332 -0.0881)
OKLCHoklch(42.12% 0.16 326.5)
XYZxyz(11.6642, 6.4156, 19.0325)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77217A #247A21
analogous
#4B217A #77217A #7A2150
triadic
#77217A #7A7721 #217A77
tetradic
#77217A #7A4B21 #247A21 #21507A
square
#77217A #7A4B21 #247A21 #21507A
split-complementary
#77217A #507A21 #217A4B
monochromatic
#19071A #48144A #77217A #A62EAA #C948CD

Accessibility & contrast

On white

9.20
#77217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#77217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77217A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77217A#FFFFFF#000000##FFFFFF
##77217A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#364B78
Tritanopia (blue-blind)
#7A2F4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77217a;
/* rgb */ color: rgb(119, 33, 122);
/* oklch */ color: oklch(42.1% 0.160 326.5);
Tailwind
colors: {
  custom: {
    50: '#a165a1',
    500: '#77217a',
    950: '#000000',
  },
}
SCSS
$custom: #77217a;
$custom-light: #a165a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77217a",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 297.978,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42124,
    "c": 0.15975,
    "h": 326.5
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

primary
#77217A
secondary
#4DAD4A
accent
#E1474C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #77217A

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

Preview Lab → · Contrast checker → · Palette generator →

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