#77226C#77226C

#77226C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.147 H 333.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#77226C
RGBrgb(119, 34, 108)
HSLhsl(308, 56%, 30%)
HSVhsv(308, 71%, 47%)
CMYKcmyk(0%, 71.4%, 9.2%, 53.3%)
CIE-LABlab(29.79, 45.47, -23.89)
CIE-LCHlch(29.79, 51.36, 332.28°)
OKLaboklab(41.4% 0.1315 -0.0654)
OKLCHoklch(41.4% 0.147 333.6)
XYZxyz(10.8866, 6.1496, 14.7981)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77226C #22772D
analogous
#582277 #77226C #772241
triadic
#77226C #6C7722 #226C77
tetradic
#77226C #775822 #22772D #224177
square
#77226C #775822 #22772D #224177
split-complementary
#77226C #417722 #227758
monochromatic
#180716 #471441 #77226C #A73097 #CB49BA

Accessibility & contrast

On white

9.42
#77226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#77226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77226C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77226C#FFFFFF#000000##FFFFFF
##77226C1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#3D4B6A
Tritanopia (blue-blind)
#7D2944
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #77226c;
/* rgb */ color: rgb(119, 34, 108);
/* oklch */ color: oklch(41.4% 0.147 333.6);
Tailwind
colors: {
  custom: {
    50: '#a16596',
    500: '#77226c',
    950: '#000000',
  },
}
SCSS
$custom: #77226c;
$custom-light: #a16596;
$custom-dark: #000000;
JSON
{
  "hex": "#77226c",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 307.765,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.414,
    "c": 0.14681,
    "h": 333.6
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#77226C
secondary
#4BAA57
accent
#DF5C49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #77226C

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

Preview Lab → · Contrast checker → · Palette generator →

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