#77229F#77229F

#77229F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.192 H 311.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#77229F
RGBrgb(119, 34, 159)
HSLhsl(281, 65%, 38%)
HSVhsv(281, 79%, 62%)
CMYKcmyk(25.2%, 78.6%, 0%, 37.6%)
CIE-LABlab(33.07, 55.27, -50.41)
CIE-LCHlch(33.07, 74.80, 317.63°)
OKLaboklab(44.79% 0.1283 -0.1427)
OKLCHoklch(44.79% 0.192 311.9)
XYZxyz(14.4366, 7.5696, 33.4948)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77229F #4A9F22
analogous
#38229F #77229F #9F2288
triadic
#77229F #9F7722 #229F77
tetradic
#77229F #9F3822 #4A9F22 #22889F
square
#77229F #9F3822 #4A9F22 #22889F
split-complementary
#77229F #889F22 #229F38
monochromatic
#2C0C3A #51176D #77229F #9D2DD1 #B45FDD

Accessibility & contrast

On white

8.35
#77229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77229F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77229F#FFFFFF#000000##FFFFFF
##77229F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#084F9C
Tritanopia (blue-blind)
#724060
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #77229f;
/* rgb */ color: rgb(119, 34, 159);
/* oklch */ color: oklch(44.8% 0.192 311.9);
Tailwind
colors: {
  custom: {
    50: '#a367bc',
    500: '#77229f',
    950: '#000000',
  },
}
SCSS
$custom: #77229f;
$custom-light: #a367bc;
$custom-dark: #000000;
JSON
{
  "hex": "#77229f",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 280.8,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.19191,
    "h": 311.9
  },
  "luminance": 0.07569
}

Semantic roles & 50–950 ramp

primary
#77229F
secondary
#7CC15B
accent
#E84076
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #77229F

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

Preview Lab → · Contrast checker → · Palette generator →

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