#772A83#772A83

#772A83 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.156 H 322.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#772A83
RGBrgb(119, 42, 131)
HSLhsl(292, 51%, 34%)
HSVhsv(292, 68%, 51%)
CMYKcmyk(9.2%, 67.9%, 0%, 48.6%)
CIE-LABlab(32.30, 46.31, -34.45)
CIE-LCHlch(32.30, 57.72, 323.36°)
OKLaboklab(43.64% 0.123 -0.096)
OKLCHoklch(43.64% 0.156 322)
XYZxyz(12.5320, 7.2172, 22.2013)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A83 #36832A
analogous
#4B2A83 #772A83 #832A63
triadic
#772A83 #83772A #2A8377
tetradic
#772A83 #834B2A #36832A #2A6383
square
#772A83 #834B2A #36832A #2A6383
split-complementary
#772A83 #63832A #2A834B
monochromatic
#230C26 #4D1B55 #772A83 #A139B1 #BC5DCB

Accessibility & contrast

On white

8.59
#772A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#772A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772A83
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A83#FFFFFF#000000##FFFFFF
##772A831.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124686
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#783953
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772a83;
/* rgb */ color: rgb(119, 42, 131);
/* oklch */ color: oklch(43.6% 0.156 322.0);
Tailwind
colors: {
  custom: {
    50: '#a16aa7',
    500: '#772a83',
    950: '#000000',
  },
}
SCSS
$custom: #772a83;
$custom-light: #a16aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#772a83",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 291.91,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43635,
    "c": 0.15605,
    "h": 322
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#772A83
secondary
#64B158
accent
#DB4D60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772A83

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

Preview Lab → · Contrast checker → · Palette generator →

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