#772279#772279

#772279 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.158 H 327.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#772279
RGBrgb(119, 34, 121)
HSLhsl(299, 56%, 30%)
HSVhsv(299, 72%, 47%)
CMYKcmyk(1.7%, 71.9%, 0%, 52.5%)
CIE-LABlab(30.51, 47.74, -31.01)
CIE-LCHlch(30.51, 56.93, 327.00°)
OKLaboklab(42.16% 0.1322 -0.086)
OKLCHoklch(42.16% 0.158 327)
XYZxyz(11.6308, 6.4473, 18.7173)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772279 #247922
analogous
#4C2279 #772279 #79224F
triadic
#772279 #797722 #227977
tetradic
#772279 #794C22 #247922 #224F79
square
#772279 #794C22 #247922 #224F79
split-complementary
#772279 #4F7922 #22794C
monochromatic
#190719 #481549 #772279 #A62FA9 #C949CC

Accessibility & contrast

On white

9.17
#772279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#772279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772279
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772279#FFFFFF#000000##FFFFFF
##7722791.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417B
Deuteranopia (green-blind)
#374C77
Tritanopia (blue-blind)
#7A2F4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #772279;
/* rgb */ color: rgb(119, 34, 121);
/* oklch */ color: oklch(42.2% 0.158 327.0);
Tailwind
colors: {
  custom: {
    50: '#a166a0',
    500: '#772279',
    950: '#000000',
  },
}
SCSS
$custom: #772279;
$custom-light: #a166a0;
$custom-dark: #000000;
JSON
{
  "hex": "#772279",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 298.621,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4216,
    "c": 0.15766,
    "h": 327
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#772279
secondary
#4DAC4B
accent
#DF484C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #772279

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

Preview Lab → · Contrast checker → · Palette generator →

#772279 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva