#77228D#77228D

#77228D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.175 H 318.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#77228D
RGBrgb(119, 34, 141)
HSLhsl(288, 61%, 34%)
HSVhsv(288, 76%, 55%)
CMYKcmyk(15.6%, 75.9%, 0%, 44.7%)
CIE-LABlab(31.78, 51.56, -41.47)
CIE-LCHlch(31.78, 66.17, 321.19°)
OKLaboklab(43.47% 0.1311 -0.1165)
OKLCHoklch(43.47% 0.175 318.4)
XYZxyz(12.9868, 6.9897, 25.8592)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77228D #388D22
analogous
#42228D #77228D #8D226E
triadic
#77228D #8D7722 #228D77
tetradic
#77228D #8D4222 #388D22 #226E8D
square
#77228D #8D4222 #388D22 #226E8D
split-complementary
#77228D #6E8D22 #228D42
monochromatic
#240A2A #4D165C #77228D #A12EBE #BB54D6

Accessibility & contrast

On white

8.76
#77228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#77228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77228D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77228D#FFFFFF#000000##FFFFFF
##77228D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#284D8B
Tritanopia (blue-blind)
#763856
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77228d;
/* rgb */ color: rgb(119, 34, 141);
/* oklch */ color: oklch(43.5% 0.175 318.4);
Tailwind
colors: {
  custom: {
    50: '#a267af',
    500: '#77228d',
    950: '#000000',
  },
}
SCSS
$custom: #77228d;
$custom-light: #a267af;
$custom-dark: #000000;
JSON
{
  "hex": "#77228d",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 287.664,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43473,
    "c": 0.1754,
    "h": 318.4
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#77228D
secondary
#67B951
accent
#E44465
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77228D

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

Preview Lab → · Contrast checker → · Palette generator →

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