#77229E#77229E

#77229E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.191 H 312.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#77229E
RGBrgb(119, 34, 158)
HSLhsl(281, 65%, 38%)
HSVhsv(281, 78%, 62%)
CMYKcmyk(24.7%, 78.5%, 0%, 38%)
CIE-LABlab(33.00, 55.06, -49.92)
CIE-LCHlch(33.00, 74.32, 317.80°)
OKLaboklab(44.71% 0.1285 -0.1413)
OKLCHoklch(44.71% 0.191 312.3)
XYZxyz(14.3502, 7.5350, 33.0396)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77229E #499E22
analogous
#39229E #77229E #9E2287
triadic
#77229E #9E7722 #229E77
tetradic
#77229E #9E3922 #499E22 #22879E
square
#77229E #9E3922 #499E22 #22879E
split-complementary
#77229E #879E22 #229E39
monochromatic
#2B0C39 #51176C #77229E #9D2DD0 #B55EDC

Accessibility & contrast

On white

8.38
#77229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#77229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77229E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77229E#FFFFFF#000000##FFFFFF
##77229E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#0C4F9B
Tritanopia (blue-blind)
#724060
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #77229e;
/* rgb */ color: rgb(119, 34, 158);
/* oklch */ color: oklch(44.7% 0.191 312.3);
Tailwind
colors: {
  custom: {
    50: '#a367bb',
    500: '#77229e',
    950: '#000000',
  },
}
SCSS
$custom: #77229e;
$custom-light: #a367bb;
$custom-dark: #000000;
JSON
{
  "hex": "#77229e",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 281.129,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44713,
    "c": 0.19099,
    "h": 312.3
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#77229E
secondary
#7BC15B
accent
#E84075
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #77229E

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

Preview Lab → · Contrast checker → · Palette generator →

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