#772E88#772E88

#772E88 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.155 H 319.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#772E88
RGBrgb(119, 46, 136)
HSLhsl(289, 49%, 36%)
HSVhsv(289, 66%, 53%)
CMYKcmyk(12.5%, 66.2%, 0%, 46.7%)
CIE-LABlab(33.25, 45.51, -36.03)
CIE-LCHlch(33.25, 58.04, 321.63°)
OKLaboklab(44.42% 0.1181 -0.1007)
OKLCHoklch(44.42% 0.155 319.6)
XYZxyz(13.0281, 7.6541, 24.0789)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772E88 #3F882E
analogous
#4A2E88 #772E88 #882E6C
triadic
#772E88 #88772E #2E8877
tetradic
#772E88 #884A2E #3F882E #2E6C88
square
#772E88 #884A2E #3F882E #2E6C88
split-complementary
#772E88 #6C882E #2E884A
monochromatic
#270F2D #4F1F5A #772E88 #9F3DB6 #B865CB

Accessibility & contrast

On white

8.30
#772E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#772E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772E88
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772E88#FFFFFF#000000##FFFFFF
##772E881.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#773D57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772e88;
/* rgb */ color: rgb(119, 46, 136);
/* oklch */ color: oklch(44.4% 0.155 319.6);
Tailwind
colors: {
  custom: {
    50: '#a16cab',
    500: '#772e88',
    950: '#000000',
  },
}
SCSS
$custom: #772e88;
$custom-light: #a16cab;
$custom-dark: #000000;
JSON
{
  "hex": "#772e88",
  "rgb": {
    "r": 119,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 288.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44422,
    "c": 0.1552,
    "h": 319.6
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#772E88
secondary
#6FB260
accent
#D94F69
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772E88

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

Preview Lab → · Contrast checker → · Palette generator →

#772E88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva