#77226D#77226D

#77226D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.5% C 0.148 H 333.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#77226D
RGBrgb(119, 34, 109)
HSLhsl(307, 56%, 30%)
HSVhsv(307, 71%, 47%)
CMYKcmyk(0%, 71.4%, 8.4%, 53.3%)
CIE-LABlab(29.84, 45.63, -24.44)
CIE-LCHlch(29.84, 51.77, 331.82°)
OKLaboklab(41.46% 0.1316 -0.067)
OKLCHoklch(41.46% 0.148 333)
XYZxyz(10.9401, 6.1710, 15.0800)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77226D #22772C
analogous
#572277 #77226D #772242
triadic
#77226D #6D7722 #226D77
tetradic
#77226D #775722 #22772C #224277
square
#77226D #775722 #22772C #224277
split-complementary
#77226D #427722 #227757
monochromatic
#180716 #471441 #77226D #A73099 #CB49BC

Accessibility & contrast

On white

9.40
#77226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77226D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77226D#FFFFFF#000000##FFFFFF
##77226D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3E6F
Deuteranopia (green-blind)
#3D4B6B
Tritanopia (blue-blind)
#7C2A44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #77226d;
/* rgb */ color: rgb(119, 34, 109);
/* oklch */ color: oklch(41.5% 0.148 333.0);
Tailwind
colors: {
  custom: {
    50: '#a16597',
    500: '#77226d',
    950: '#000000',
  },
}
SCSS
$custom: #77226d;
$custom-light: #a16597;
$custom-dark: #000000;
JSON
{
  "hex": "#77226d",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 307.059,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.14762,
    "h": 333
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#77226D
secondary
#4BAA56
accent
#DF5B49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #77226D

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

Preview Lab → · Contrast checker → · Palette generator →

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