#77228E#77228E

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

Color values

HEX#77228E
RGBrgb(119, 34, 142)
HSLhsl(287, 61%, 35%)
HSVhsv(287, 76%, 56%)
CMYKcmyk(16.2%, 76.1%, 0%, 44.3%)
CIE-LABlab(31.85, 51.77, -41.98)
CIE-LCHlch(31.85, 66.65, 320.96°)
OKLaboklab(43.54% 0.131 -0.118)
OKLCHoklch(43.54% 0.176 318)
XYZxyz(13.0616, 7.0196, 26.2528)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77228E #398E22
analogous
#41228E #77228E #8E226F
triadic
#77228E #8E7722 #228E77
tetradic
#77228E #8E4122 #398E22 #226F8E
square
#77228E #8E4122 #398E22 #226F8E
split-complementary
#77228E #6F8E22 #228E41
monochromatic
#240A2B #4E165D #77228E #A02EBF #BA54D6

Accessibility & contrast

On white

8.74
#77228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77228E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77228E#FFFFFF#000000##FFFFFF
##77228E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#763956
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77228e;
/* rgb */ color: rgb(119, 34, 142);
/* oklch */ color: oklch(43.5% 0.176 318.0);
Tailwind
colors: {
  custom: {
    50: '#a267b0',
    500: '#77228e',
    950: '#000000',
  },
}
SCSS
$custom: #77228e;
$custom-light: #a267b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77228e",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 287.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.17631,
    "h": 318
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#77228E
secondary
#68BA52
accent
#E44366
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77228E

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

Preview Lab → · Contrast checker → · Palette generator →

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