#772F87#772F87

#772F87 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.153 H 319.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#772F87
RGBrgb(119, 47, 135)
HSLhsl(289, 48%, 36%)
HSVhsv(289, 65%, 53%)
CMYKcmyk(11.9%, 65.2%, 0%, 47.1%)
CIE-LABlab(33.36, 44.83, -35.24)
CIE-LCHlch(33.36, 57.02, 321.84°)
OKLaboklab(44.48% 0.1169 -0.0984)
OKLCHoklch(44.48% 0.153 319.9)
XYZxyz(12.9969, 7.7048, 23.7196)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F87 #3F872F
analogous
#4B2F87 #772F87 #872F6B
triadic
#772F87 #87772F #2F8777
tetradic
#772F87 #874B2F #3F872F #2F6B87
square
#772F87 #874B2F #3F872F #2F6B87
split-complementary
#772F87 #6B872F #2F874B
monochromatic
#270F2C #4F1F5A #772F87 #9F3FB4 #B866CA

Accessibility & contrast

On white

8.27
#772F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#772F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F87
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F87#FFFFFF#000000##FFFFFF
##772F871.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17498A
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#773E56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772f87;
/* rgb */ color: rgb(119, 47, 135);
/* oklch */ color: oklch(44.5% 0.153 319.9);
Tailwind
colors: {
  custom: {
    50: '#a16daa',
    500: '#772f87',
    950: '#000000',
  },
}
SCSS
$custom: #772f87;
$custom-light: #a16daa;
$custom-dark: #000000;
JSON
{
  "hex": "#772f87",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 289.091,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.15276,
    "h": 319.9
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#772F87
secondary
#6FB161
accent
#D85069
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772F87

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

Preview Lab → · Contrast checker → · Palette generator →

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