#77226E#77226E

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

Color values

HEX#77226E
RGBrgb(119, 34, 110)
HSLhsl(306, 56%, 30%)
HSVhsv(306, 71%, 47%)
CMYKcmyk(0%, 71.4%, 7.6%, 53.3%)
CIE-LABlab(29.89, 45.80, -25.00)
CIE-LCHlch(29.89, 52.18, 331.38°)
OKLaboklab(41.51% 0.1316 -0.0686)
OKLCHoklch(41.51% 0.148 332.5)
XYZxyz(10.9943, 6.1927, 15.3651)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77226E #22772B
analogous
#562277 #77226E #772243
triadic
#77226E #6E7722 #226E77
tetradic
#77226E #775622 #22772B #224377
square
#77226E #775622 #22772B #224377
split-complementary
#77226E #437722 #227756
monochromatic
#180716 #471442 #77226E #A7309A #CB49BD

Accessibility & contrast

On white

9.38
#77226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#77226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77226E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77226E#FFFFFF#000000##FFFFFF
##77226E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#7C2A45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #77226e;
/* rgb */ color: rgb(119, 34, 110);
/* oklch */ color: oklch(41.5% 0.148 332.5);
Tailwind
colors: {
  custom: {
    50: '#a16598',
    500: '#77226e',
    950: '#000000',
  },
}
SCSS
$custom: #77226e;
$custom-light: #a16598;
$custom-dark: #000000;
JSON
{
  "hex": "#77226e",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 306.353,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41512,
    "c": 0.14843,
    "h": 332.5
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#77226E
secondary
#4BAA55
accent
#DF5949
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #77226E

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

Preview Lab → · Contrast checker → · Palette generator →

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