#77228A#77228A

#77228A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.173 H 319.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#77228A
RGBrgb(119, 34, 138)
HSLhsl(289, 60%, 34%)
HSVhsv(289, 75%, 54%)
CMYKcmyk(13.8%, 75.4%, 0%, 45.9%)
CIE-LABlab(31.58, 50.97, -39.94)
CIE-LCHlch(31.58, 64.75, 321.92°)
OKLaboklab(43.27% 0.1314 -0.112)
OKLCHoklch(43.27% 0.173 319.6)
XYZxyz(12.7666, 6.9016, 24.6995)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77228A #358A22
analogous
#43228A #77228A #8A2269
triadic
#77228A #8A7722 #228A77
tetradic
#77228A #8A4322 #358A22 #22698A
square
#77228A #8A4322 #358A22 #22698A
split-complementary
#77228A #698A22 #228A43
monochromatic
#220A28 #4D1659 #77228A #A12EBB #BD52D4

Accessibility & contrast

On white

8.82
#77228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#77228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77228A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77228A#FFFFFF#000000##FFFFFF
##77228A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#2A4D88
Tritanopia (blue-blind)
#773754
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77228a;
/* rgb */ color: rgb(119, 34, 138);
/* oklch */ color: oklch(43.3% 0.173 319.6);
Tailwind
colors: {
  custom: {
    50: '#a266ad',
    500: '#77228a',
    950: '#000000',
  },
}
SCSS
$custom: #77228a;
$custom-light: #a266ad;
$custom-dark: #000000;
JSON
{
  "hex": "#77228a",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 289.038,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43266,
    "c": 0.17268,
    "h": 319.6
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#77228A
secondary
#63B850
accent
#E44461
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77228A

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

Preview Lab → · Contrast checker → · Palette generator →

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