#77228C#77228C

#77228C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.174 H 318.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#77228C
RGBrgb(119, 34, 140)
HSLhsl(288, 61%, 34%)
HSVhsv(288, 76%, 55%)
CMYKcmyk(15%, 75.7%, 0%, 45.1%)
CIE-LABlab(31.72, 51.37, -40.96)
CIE-LCHlch(31.72, 65.70, 321.43°)
OKLaboklab(43.4% 0.1312 -0.115)
OKLCHoklch(43.4% 0.174 318.8)
XYZxyz(12.9128, 6.9601, 25.4691)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77228C #378C22
analogous
#42228C #77228C #8C226C
triadic
#77228C #8C7722 #228C77
tetradic
#77228C #8C4222 #378C22 #226C8C
square
#77228C #8C4222 #378C22 #226C8C
split-complementary
#77228C #6C8C22 #228C42
monochromatic
#230A2A #4D165B #77228C #A12EBD #BB53D5

Accessibility & contrast

On white

8.78
#77228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#77228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77228C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77228C#FFFFFF#000000##FFFFFF
##77228C1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#294D8A
Tritanopia (blue-blind)
#773855
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77228c;
/* rgb */ color: rgb(119, 34, 140);
/* oklch */ color: oklch(43.4% 0.174 318.8);
Tailwind
colors: {
  custom: {
    50: '#a267ae',
    500: '#77228c',
    950: '#000000',
  },
}
SCSS
$custom: #77228c;
$custom-light: #a267ae;
$custom-dark: #000000;
JSON
{
  "hex": "#77228c",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 288.113,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.17449,
    "h": 318.8
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#77228C
secondary
#65B951
accent
#E44464
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77228C

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

Preview Lab → · Contrast checker → · Palette generator →

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