#77226A#77226A

#77226A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.145 H 334.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#77226A
RGBrgb(119, 34, 106)
HSLhsl(309, 56%, 30%)
HSVhsv(309, 71%, 47%)
CMYKcmyk(0%, 71.4%, 10.9%, 53.3%)
CIE-LABlab(29.68, 45.13, -22.77)
CIE-LCHlch(29.68, 50.55, 333.23°)
OKLaboklab(41.29% 0.1312 -0.0622)
OKLCHoklch(41.29% 0.145 334.7)
XYZxyz(10.7814, 6.1075, 14.2439)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77226A #22772F
analogous
#592277 #77226A #772240
triadic
#77226A #6A7722 #226A77
tetradic
#77226A #775922 #22772F #224077
square
#77226A #775922 #22772F #224077
split-complementary
#77226A #407722 #227759
monochromatic
#180715 #471440 #77226A #A73094 #CB49B7

Accessibility & contrast

On white

9.45
#77226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#77226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77226A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77226A#FFFFFF#000000##FFFFFF
##77226A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6C
Deuteranopia (green-blind)
#3E4A68
Tritanopia (blue-blind)
#7D2943
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #77226a;
/* rgb */ color: rgb(119, 34, 106);
/* oklch */ color: oklch(41.3% 0.145 334.7);
Tailwind
colors: {
  custom: {
    50: '#a16595',
    500: '#77226a',
    950: '#000000',
  },
}
SCSS
$custom: #77226a;
$custom-light: #a16595;
$custom-dark: #000000;
JSON
{
  "hex": "#77226a",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 309.176,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.14522,
    "h": 334.7
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#77226A
secondary
#4BAA59
accent
#DF6049
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #77226A

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

Preview Lab → · Contrast checker → · Palette generator →

#77226A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva