#77228B#77228B

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

Color values

HEX#77228B
RGBrgb(119, 34, 139)
HSLhsl(289, 61%, 34%)
HSVhsv(289, 76%, 55%)
CMYKcmyk(14.4%, 75.5%, 0%, 45.5%)
CIE-LABlab(31.65, 51.17, -40.45)
CIE-LCHlch(31.65, 65.23, 321.67°)
OKLaboklab(43.34% 0.1313 -0.1135)
OKLCHoklch(43.34% 0.174 319.2)
XYZxyz(12.8394, 6.9307, 25.0825)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77228B #368B22
analogous
#42228B #77228B #8B226B
triadic
#77228B #8B7722 #228B77
tetradic
#77228B #8B4222 #368B22 #226B8B
square
#77228B #8B4222 #368B22 #226B8B
split-complementary
#77228B #6B8B22 #228B42
monochromatic
#230A29 #4D165A #77228B #A12EBC #BC53D5

Accessibility & contrast

On white

8.80
#77228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77228B
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77228B#FFFFFF#000000##FFFFFF
##77228B1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2A4D89
Tritanopia (blue-blind)
#773755
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77228b;
/* rgb */ color: rgb(119, 34, 139);
/* oklch */ color: oklch(43.3% 0.174 319.2);
Tailwind
colors: {
  custom: {
    50: '#a266ad',
    500: '#77228b',
    950: '#000000',
  },
}
SCSS
$custom: #77228b;
$custom-light: #a266ad;
$custom-dark: #000000;
JSON
{
  "hex": "#77228b",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 288.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.17358,
    "h": 319.2
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#77228B
secondary
#64B850
accent
#E44462
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77228B

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

Preview Lab → · Contrast checker → · Palette generator →

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