#772F82#772F82

#772F82 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.148 H 322.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#772F82
RGBrgb(119, 47, 130)
HSLhsl(292, 47%, 35%)
HSVhsv(292, 64%, 51%)
CMYKcmyk(8.5%, 63.8%, 0%, 49%)
CIE-LABlab(33.06, 43.82, -32.60)
CIE-LCHlch(33.06, 54.61, 323.35°)
OKLaboklab(44.17% 0.1168 -0.0907)
OKLCHoklch(44.17% 0.148 322.2)
XYZxyz(12.6531, 7.5673, 21.9089)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F82 #3A822F
analogous
#4D2F82 #772F82 #822F64
triadic
#772F82 #82772F #2F8277
tetradic
#772F82 #824D2F #3A822F #2F6482
square
#772F82 #824D2F #3A822F #2F6482
split-complementary
#772F82 #64822F #2F824D
monochromatic
#250E28 #4E1F55 #772F82 #A03FAF #BA64C7

Accessibility & contrast

On white

8.36
#772F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#772F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F82
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F82#FFFFFF#000000##FFFFFF
##772F821.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4885
Deuteranopia (green-blind)
#395180
Tritanopia (blue-blind)
#793C54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772f82;
/* rgb */ color: rgb(119, 47, 130);
/* oklch */ color: oklch(44.2% 0.148 322.2);
Tailwind
colors: {
  custom: {
    50: '#a16da7',
    500: '#772f82',
    950: '#000000',
  },
}
SCSS
$custom: #772f82;
$custom-light: #a16da7;
$custom-dark: #000000;
JSON
{
  "hex": "#772f82",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 292.048,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44171,
    "c": 0.14784,
    "h": 322.2
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#772F82
secondary
#69AE5F
accent
#D75163
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772F82

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

Preview Lab → · Contrast checker → · Palette generator →

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