#77229C#77229C

#77229C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.189 H 312.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#77229C
RGBrgb(119, 34, 156)
HSLhsl(282, 64%, 37%)
HSVhsv(282, 78%, 61%)
CMYKcmyk(23.7%, 78.2%, 0%, 38.8%)
CIE-LABlab(32.85, 54.64, -48.95)
CIE-LCHlch(32.85, 73.36, 318.14°)
OKLaboklab(44.56% 0.1289 -0.1384)
OKLCHoklch(44.56% 0.189 312.9)
XYZxyz(14.1795, 7.4667, 32.1403)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77229C #479C22
analogous
#3A229C #77229C #9C2284
triadic
#77229C #9C7722 #229C77
tetradic
#77229C #9C3A22 #479C22 #22849C
square
#77229C #9C3A22 #479C22 #22849C
split-complementary
#77229C #849C22 #229C3A
monochromatic
#2A0C38 #51176A #77229C #9D2DCE #B55DDC

Accessibility & contrast

On white

8.42
#77229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#77229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77229C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77229C#FFFFFF#000000##FFFFFF
##77229C1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#114F99
Tritanopia (blue-blind)
#733F5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #77229c;
/* rgb */ color: rgb(119, 34, 156);
/* oklch */ color: oklch(44.6% 0.189 312.9);
Tailwind
colors: {
  custom: {
    50: '#a367ba',
    500: '#77229c',
    950: '#000000',
  },
}
SCSS
$custom: #77229c;
$custom-light: #a367ba;
$custom-dark: #000000;
JSON
{
  "hex": "#77229c",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 281.803,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.18914,
    "h": 312.9
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#77229C
secondary
#79C05A
accent
#E74173
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #77229C

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

Preview Lab → · Contrast checker → · Palette generator →

#77229C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva