#772177#772177

#772177 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.157 H 327.9°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#772177
RGBrgb(119, 33, 119)
HSLhsl(300, 57%, 30%)
HSVhsv(300, 72%, 47%)
CMYKcmyk(0%, 72.3%, 0%, 53.3%)
CIE-LABlab(30.26, 47.77, -30.15)
CIE-LCHlch(30.26, 56.48, 327.74°)
OKLaboklab(41.94% 0.1332 -0.0834)
OKLCHoklch(41.94% 0.157 327.9)
XYZxyz(11.4812, 6.3424, 18.0687)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772177 #217721
analogous
#4C2177 #772177 #77214C
triadic
#772177 #777721 #217777
tetradic
#772177 #774C21 #217721 #214C77
square
#772177 #774C21 #217721 #214C77
split-complementary
#772177 #4C7721 #21774C
monochromatic
#180718 #471447 #772177 #A72EA7 #CC47CC

Accessibility & contrast

On white

9.26
#772177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#772177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772177
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772177#FFFFFF#000000##FFFFFF
##7721771.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134079
Deuteranopia (green-blind)
#374B75
Tritanopia (blue-blind)
#7B2E49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772177;
/* rgb */ color: rgb(119, 33, 119);
/* oklch */ color: oklch(41.9% 0.157 327.9);
Tailwind
colors: {
  custom: {
    50: '#a1659e',
    500: '#772177',
    950: '#000000',
  },
}
SCSS
$custom: #772177;
$custom-light: #a1659e;
$custom-dark: #000000;
JSON
{
  "hex": "#772177",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 300,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4194,
    "c": 0.1572,
    "h": 327.9
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#772177
secondary
#4AAA4A
accent
#E04848
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772177

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

Preview Lab → · Contrast checker → · Palette generator →

#772177 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva