#77217B#77217B

#77217B is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.161 H 326.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#77217B
RGBrgb(119, 33, 123)
HSLhsl(297, 58%, 31%)
HSVhsv(297, 73%, 48%)
CMYKcmyk(3.3%, 73.2%, 0%, 51.8%)
CIE-LABlab(30.50, 48.49, -32.30)
CIE-LCHlch(30.50, 58.26, 326.34°)
OKLaboklab(42.19% 0.1332 -0.0897)
OKLCHoklch(42.19% 0.161 326.1)
XYZxyz(11.7265, 6.4405, 19.3605)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77217B #257B21
analogous
#4A217B #77217B #7B2152
triadic
#77217B #7B7721 #217B77
tetradic
#77217B #7B4A21 #257B21 #21527B
square
#77217B #7B4A21 #257B21 #21527B
split-complementary
#77217B #527B21 #217B4A
monochromatic
#1A071A #48144B #77217B #A62EAB #C848CE

Accessibility & contrast

On white

9.18
#77217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#77217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77217B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77217B#FFFFFF#000000##FFFFFF
##77217B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417E
Deuteranopia (green-blind)
#354B79
Tritanopia (blue-blind)
#7A2F4C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77217b;
/* rgb */ color: rgb(119, 33, 123);
/* oklch */ color: oklch(42.2% 0.161 326.1);
Tailwind
colors: {
  custom: {
    50: '#a165a1',
    500: '#77217b',
    950: '#000000',
  },
}
SCSS
$custom: #77217b;
$custom-light: #a165a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77217b",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 297.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42186,
    "c": 0.16062,
    "h": 326.1
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#77217B
secondary
#4EAE4A
accent
#E1474E
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77217B

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

Preview Lab → · Contrast checker → · Palette generator →

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