#772A94#772A94

#772A94 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.172 H 315.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#772A94
RGBrgb(119, 42, 148)
HSLhsl(284, 56%, 37%)
HSVhsv(284, 72%, 58%)
CMYKcmyk(19.6%, 71.6%, 0%, 42%)
CIE-LABlab(33.39, 49.80, -43.20)
CIE-LCHlch(33.39, 65.93, 319.06°)
OKLaboklab(44.77% 0.1222 -0.1216)
OKLCHoklch(44.77% 0.172 315.1)
XYZxyz(13.7801, 7.7165, 28.7748)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772A94 #47942A
analogous
#422A94 #772A94 #942A7C
triadic
#772A94 #94772A #2A9477
tetradic
#772A94 #94422A #47942A #2A7C94
square
#772A94 #94422A #47942A #2A7C94
split-complementary
#772A94 #7C942A #2A9442
monochromatic
#2A0F35 #511C64 #772A94 #9D38C4 #B565D3

Accessibility & contrast

On white

8.26
#772A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772A94
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772A94#FFFFFF#000000##FFFFFF
##772A941.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#275192
Tritanopia (blue-blind)
#75405C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772a94;
/* rgb */ color: rgb(119, 42, 148);
/* oklch */ color: oklch(44.8% 0.172 315.1);
Tailwind
colors: {
  custom: {
    50: '#a26bb4',
    500: '#772a94',
    950: '#000000',
  },
}
SCSS
$custom: #772a94;
$custom-light: #a26bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#772a94",
  "rgb": {
    "r": 119,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 283.585,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44765,
    "c": 0.17238,
    "h": 315.1
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#772A94
secondary
#79B960
accent
#DF4972
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772A94

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

Preview Lab → · Contrast checker → · Palette generator →

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